UNPKG

416 BTypeScriptView Raw
1import '../../';
2
3export interface RequireModeOptions {
4 path?(mode: string): string;
5 loadMode?(file: string, callback: () => void): void;
6}
7
8declare module '../../' {
9 let modeURL: string;
10
11 function requireMode(mode: string | { name: string }, callback: () => void, options?: RequireModeOptions): void;
12
13 function autoLoadMode(instance: Editor, mode: string, options?: RequireModeOptions): void;
14}
15
\No newline at end of file