mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-05 23:10:28 +00:00
chore: add ts file so tsc --noEmit works
This commit is contained in:
parent
602e5eacd5
commit
270aeba8ff
1
core/globals.d.ts
vendored
Normal file
1
core/globals.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
||||
declare var $tw: any;
|
24
tsconfig.json
Normal file
24
tsconfig.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"paths": { // Add paths
|
||||
"$:/core/*": ["./core/*"]
|
||||
},
|
||||
"noImplicitAny": false,
|
||||
"strict": false,
|
||||
|
||||
"allowJs": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"checkJs": true,
|
||||
"declaration": true,
|
||||
"declarationDir": "types",
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": false,
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"module": "Node16",
|
||||
"outDir": "silences wrong TS error, we don't compile, we only typecheck",
|
||||
"rootDir": "core",
|
||||
"skipLibCheck": true,
|
||||
"target": "ESNext"
|
||||
},
|
||||
"include": ["./core/**/*.js", "**/*.d.ts"]
|
||||
}
|
Loading…
Reference in New Issue
Block a user