mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-30 23:23:02 +00:00 
			
		
		
		
	chore: add ts file so tsc --noEmit works
This commit is contained in:
		
							
								
								
									
										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"] | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user
	 linonetwo
					linonetwo