diff --git a/package.json b/package.json index 3069dfa..2a11142 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,6 @@ "author": "freee", "license": "MIT", "peerDependencies": { - "typescript": "^3.6.5 || ^4.0.3" + "typescript": "^4.0.3" } } diff --git a/tsconfig.json b/tsconfig.json index 69d3553..544eb42 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { "target": "ES5", - "lib": ["ES2019", "DOM", "DOM.Iterable"], - "jsx": "react", + "lib": ["DOM", "DOM.Iterable", "ES2020"], + "jsx": "react-jsx", "module": "ESNext", "moduleResolution": "node", "allowSyntheticDefaultImports": true,