Change tsconfig to autodiscover all @types packages rather setting them explicitely

This commit is contained in:
Germain Souquet 2021-08-06 17:03:12 +02:00
parent 3153e11761
commit 18eb00a70f

View file

@ -12,12 +12,6 @@
"outDir": "./lib", "outDir": "./lib",
"declaration": true, "declaration": true,
"jsx": "react", "jsx": "react",
"types": [
"node",
"react",
"flux",
"react-transition-group"
],
"lib": [ "lib": [
"es2019", "es2019",
"dom", "dom",
@ -27,5 +21,5 @@
"include": [ "include": [
"./src/**/*.ts", "./src/**/*.ts",
"./src/**/*.tsx" "./src/**/*.tsx"
], ],
} }