Skip to content

Commit

Permalink
fix: styled types path not found
Browse files Browse the repository at this point in the history
This commit explicit target emotion types
to fix module import in ts.

Closes DCOS-39087
  • Loading branch information
weblancaster committed Jul 11, 2018
1 parent cec0c46 commit 108a9fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
"esModuleInterop": true,
"strict": true,
"moduleResolution": "node",
"typeRoots": ["node_modules/@types"],
"typeRoots": [
"node_modules/@types",
"node_modules/emotion/types",
"node_modules/create-emotion-styled/types",
"node_modules/create-emotion-styled/types/react"
],
"lib": ["es6", "dom", "es2017"]
},
"include": ["./packages/index.ts"],
Expand Down

0 comments on commit 108a9fe

Please sign in to comment.