Fix typings build errors

This commit is contained in:
hensm
2020-02-15 07:13:03 +00:00
parent 93a6e1dcd8
commit 705a676fe3
2 changed files with 4 additions and 1 deletions

View File

@@ -4,4 +4,7 @@
"./src/**/*" "./src/**/*"
, "./@types/**/*" , "./@types/**/*"
] ]
, "compilerOptions": {
"lib": [ "ES2020.String", "DOM" ]
}
} }

View File

@@ -2,7 +2,7 @@
"extends": "../tsconfig" "extends": "../tsconfig"
, "compilerOptions": { , "compilerOptions": {
"jsx": "react" "jsx": "react"
, "lib": [ "esnext", "dom", "dom.iterable" ] , "lib": [ "ESNext", "DOM", "DOM.Iterable" ]
, "moduleResolution": "node" , "moduleResolution": "node"
, "sourceMap": true , "sourceMap": true
} }