Skip to content

Commit

Permalink
[fix] type alias of Preact
Browse files Browse the repository at this point in the history
  • Loading branch information
Soecka committed Jul 1, 2024
1 parent 29c3f82 commit 293a095
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,31 @@
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"useDefineForClassFields": true,
"lib": ["ES2023", "DOM"],
"lib": [
"ES2023",
"DOM"
],
"skipLibCheck": true,
"baseUrl": "./",
"jsx": "react-jsx",
"paths": {
"react": ["./node_modules/preact/compat/"],
"react/jsx-runtime": ["./node_modules/preact/jsx-runtime"],
"react-dom": ["./node_modules/preact/compat/"]
"react": [
"./node_modules/preact/compat/"
],
"react/jsx-runtime": [
"./node_modules/preact/jsx-runtime"
],
"react-dom": [
"./node_modules/preact/compat/"
],
"react-dom/*": [
"./node_modules/preact/compat/*"
]
},
"sourceMap": true,
"outDir": "./dist/"
},
"include": ["src/**/*"]
}
"include": [
"src/**/*"
]
}

0 comments on commit 293a095

Please sign in to comment.