Skip to content

Commit

Permalink
Use "jsxImportSource": "@emotion/react" in the tsconfig.json in cypre…
Browse files Browse the repository at this point in the history
…ss/ subfolder, not main tsconfig.json
  • Loading branch information
Vadorequest committed Jan 11, 2021
1 parent 4041594 commit 914996e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"exclude": [],
"compilerOptions": {
"baseUrl": ".",
"jsx": "react",
"jsxImportSource": "@emotion/react",
"types": [
"cypress"
],
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"jsx": "preserve",
"jsxImportSource": "@emotion/react",
"lib": [
"dom",
"dom.iterable",
Expand Down

1 comment on commit 914996e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.