mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Change registerLanguage definition to a function
This commit is contained in:
Vendored
+1
-1
@@ -27,7 +27,7 @@ declare module "highlight.js"
|
||||
|
||||
export function registerLanguage(
|
||||
name: string,
|
||||
language: IModeBase): void;
|
||||
language: (hljs?: HLJSStatic) => IModeBase): void;
|
||||
export function listLanguages(): string[];
|
||||
export function getLanguage(name: string): IMode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user