Skip to content

Commit

Permalink
disable typescript automatically bringing in @types packages
Browse files Browse the repository at this point in the history
see rollup/rollup#3226 (comment)

rollup brings in types for node, which are then automatically registered, and mean typecript won't error if you use an API that is only available in node
  • Loading branch information
tjenkinson committed Nov 23, 2019
1 parent e74c2ff commit e3370d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generic-tsconfig.json
Expand Up @@ -7,6 +7,7 @@
"jsx": "react",
"jsxFactory": "h",
"strict": true,
"types": [],
"moduleResolution": "node",
"outDir": ".ts-tmp",
"composite": true,
Expand Down

0 comments on commit e3370d6

Please sign in to comment.