mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-07 22:50:02 +00:00
feat: allow type in /generated to work
This commit is contained in:
parent
8f0d37e24c
commit
24279cca6a
@ -2,14 +2,15 @@
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
// Allow `import('$:/core/modules/...')` instead of `import('../../core/modules/...')`. Only works inside this project.
|
||||
"$:/core/*": ["./core/*"]
|
||||
"$:/core/*": ["core/*"]
|
||||
},
|
||||
"baseUrl": ".",
|
||||
"rootDir": ".",
|
||||
"noImplicitAny": false,
|
||||
"strict": false,
|
||||
|
||||
"allowJs": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"checkJs": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"declaration": true,
|
||||
"declarationDir": "types/generated",
|
||||
"declarationMap": true,
|
||||
@ -17,7 +18,6 @@
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"module": "Node16",
|
||||
"outDir": "types/generated",
|
||||
"rootDir": ".",
|
||||
"skipLibCheck": true,
|
||||
"target": "ESNext"
|
||||
},
|
||||
|
20
types/tsconfig.json
Normal file
20
types/tsconfig.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
// Allow `import('$:/core/modules/...')` instead of `import('../../core/modules/...')`. Only works inside this project.
|
||||
"$:/core/*": ["core/*"]
|
||||
},
|
||||
"baseUrl": "./generated",
|
||||
"rootDir": "./generated",
|
||||
"noEmit": true,
|
||||
"noImplicitAny": false,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"declaration": true,
|
||||
"declarationDir": "types/generated",
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"module": "Node16",
|
||||
"skipLibCheck": true,
|
||||
"target": "ESNext"
|
||||
},
|
||||
"include": ["./generated/**/*.d.ts"]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user