mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-10-31 03:50:27 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			594 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			594 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import {ComponentStore} from "./services/components";
 | |
| import {EventManager} from "./services/events";
 | |
| import {HttpManager} from "./services/http";
 | |
| import {Translator} from "./services/translations";
 | |
| 
 | |
| declare global {
 | |
|     const __DEV__: boolean;
 | |
| 
 | |
|     interface Window {
 | |
|         __DEV__: boolean;
 | |
|         $components: ComponentStore;
 | |
|         $events: EventManager;
 | |
|         $trans: Translator;
 | |
|         $http: HttpManager;
 | |
|         baseUrl: (path: string) => string;
 | |
|         importVersioned: (module: string) => Promise<object>;
 | |
|     }
 | |
| }
 | |
| 
 | |
| export type CodeModule = (typeof import('./code/index.mjs')); |