Skip to content

Commit

Permalink
Fix for TypeScript error when importing @emotion/styled/base in com…
Browse files Browse the repository at this point in the history
…bination with `isolatedModules` option (emotion-js#1627)

* fix for typescript definitions when using isolated modules

* add changeset

* Update .changeset/odd-insects-cough.md

Co-Authored-By: Mateusz Burzyński <mateuszburzynski@gmail.com>

* Update .changeset/odd-insects-cough.md

Co-Authored-By: Mateusz Burzyński <mateuszburzynski@gmail.com>
  • Loading branch information
frankwallis and Andarist committed Nov 13, 2019
1 parent 90cd8e7 commit abd47d5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/odd-insects-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@emotion/styled': patch
---

Fix for TypeScript error when importing `@emotion/styled/base` in combination with `isolatedModules` option.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/styled/types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"compilerOptions": {
"baseUrl": "../",
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"jsx": "react",
"lib": [
"es6",
Expand Down

0 comments on commit abd47d5

Please sign in to comment.