mirror of https://github.com/zulip/zulip.git
tsconfig: Disable automatic inclusion of type packages.
Automatic inclusion is for files with global declarations, as opposed to files declared as modules. typeRoots already had the side effect of disabling the default automatic inclusion for node_modules. Since we also don’t need it for static/js/types, we may as well disable it completely. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
1dd5392874
commit
58e9526586
|
@ -4,7 +4,7 @@
|
||||||
"paths": {
|
"paths": {
|
||||||
"*": ["static/js/types/*"],
|
"*": ["static/js/types/*"],
|
||||||
},
|
},
|
||||||
"typeRoots": ["static/js/types"],
|
"types": [],
|
||||||
|
|
||||||
/* Typescript 3.4 added the --incremental flag but its API is not
|
/* Typescript 3.4 added the --incremental flag but its API is not
|
||||||
* currently public so ts-loader cannot use it yet.
|
* currently public so ts-loader cannot use it yet.
|
||||||
|
|
Loading…
Reference in New Issue