mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-11 12:00:27 +08:00
Change registerLanguage definition to a function
This commit is contained in:
1 parent
4acd5163e8
commit
e70ce374ba
1 file changed
+1
-1
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