UNPKG

464 BTypeScriptView Raw
1interface LoadLanguages {
2 /**
3 * Set this to `true` to prevent all warning messages `loadLanguages` logs.
4 *
5 * @default false
6 */
7 silent: boolean;
8
9 /**
10 * Loads the given languages and adds them to the current Prism instance.
11 *
12 * If no languages are provided, _all_ Prism languages will be loaded.
13 */
14 (languages?: string | string[]): void;
15}
16
17declare const loadLanguages: LoadLanguages;
18
19export = loadLanguages;