Skip to content

Commit

Permalink
Add preact path to tsconfig
Browse files Browse the repository at this point in the history
Workaround for typescript duplicate identifier errors when using npm link (to get preact-material-components typings branch)
More info: microsoft/TypeScript#6496
Workaround: ReactiveX/rxjs#1858
  • Loading branch information
cvuorinen committed Dec 13, 2017
1 parent 035b249 commit d410ca2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tsconfig.json
Expand Up @@ -7,6 +7,10 @@
"sourceMap": true,
"jsx": "react",
"jsxFactory": "h",
"allowJs": true
"allowJs": true,
"baseUrl": "",
"paths": {
"preact": ["node_modules/preact"]
}
}
}

0 comments on commit d410ca2

Please sign in to comment.