mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-08 07:00:03 +00:00
feat: allow type in /generated to work
This commit is contained in:
parent
8f0d37e24c
commit
24279cca6a
@ -2,14 +2,15 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"paths": {
|
"paths": {
|
||||||
// Allow `import('$:/core/modules/...')` instead of `import('../../core/modules/...')`. Only works inside this project.
|
// Allow `import('$:/core/modules/...')` instead of `import('../../core/modules/...')`. Only works inside this project.
|
||||||
"$:/core/*": ["./core/*"]
|
"$:/core/*": ["core/*"]
|
||||||
},
|
},
|
||||||
|
"baseUrl": ".",
|
||||||
|
"rootDir": ".",
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"strict": false,
|
"strict": false,
|
||||||
|
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"declarationDir": "types/generated",
|
"declarationDir": "types/generated",
|
||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
@ -17,7 +18,6 @@
|
|||||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||||
"module": "Node16",
|
"module": "Node16",
|
||||||
"outDir": "types/generated",
|
"outDir": "types/generated",
|
||||||
"rootDir": ".",
|
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"target": "ESNext"
|
"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