Fix theme import (#8749)
This commit is contained in:
		
							parent
							
								
									708fba989a
								
							
						
					
					
						commit
						4a50c49211
					
				
					 5 changed files with 46 additions and 31 deletions
				
			
		
							
								
								
									
										8
									
								
								packages/client/@types/theme.d.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								packages/client/@types/theme.d.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -1,5 +1,7 @@ | |||
| import { Theme } from '../src/scripts/theme'; | ||||
| 
 | ||||
| declare module '@/themes/*.json5' { | ||||
| 	export = Theme; | ||||
| 	import { Theme } from "@/scripts/theme"; | ||||
| 
 | ||||
| 	const theme: Theme; | ||||
| 
 | ||||
| 	export default theme; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue