mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	chore(code): set up TypeScript TSX
This commit is contained in:
		
							parent
							
								
									9d363fb42c
								
							
						
					
					
						commit
						e5fad63403
					
				@ -52,7 +52,7 @@ const byMimeType: Record<string, (() => Promise<StreamParser<unknown> | Language
 | 
				
			|||||||
    "text/tiki": async () => (await import('@codemirror/legacy-modes/mode/tiki')).tiki,
 | 
					    "text/tiki": async () => (await import('@codemirror/legacy-modes/mode/tiki')).tiki,
 | 
				
			||||||
    "text/troff": async () => (await import('@codemirror/legacy-modes/mode/troff')).troff,
 | 
					    "text/troff": async () => (await import('@codemirror/legacy-modes/mode/troff')).troff,
 | 
				
			||||||
    "text/turtle": async () => (await import('@codemirror/legacy-modes/mode/turtle')).turtle,
 | 
					    "text/turtle": async () => (await import('@codemirror/legacy-modes/mode/turtle')).turtle,
 | 
				
			||||||
    "text/typescript-jsx": null,
 | 
					    "text/typescript-jsx": async () => (await import('@codemirror/lang-javascript')).javascript({ typescript: true, jsx: true }),
 | 
				
			||||||
    "text/vbscript": async () => (await import('@codemirror/legacy-modes/mode/vbscript')).vbScript,
 | 
					    "text/vbscript": async () => (await import('@codemirror/legacy-modes/mode/vbscript')).vbScript,
 | 
				
			||||||
    "text/velocity": async () => (await import('@codemirror/legacy-modes/mode/velocity')).velocity,
 | 
					    "text/velocity": async () => (await import('@codemirror/legacy-modes/mode/velocity')).velocity,
 | 
				
			||||||
    "text/x-asm-mips": null,
 | 
					    "text/x-asm-mips": null,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user