Skip to content

Commit c313d09

Browse files
author
skidy89
committed
1.1.5
1 parent b292820 commit c313d09

3 files changed

Lines changed: 63 additions & 54 deletions

File tree

index.d.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,17 @@ export declare function generateTypescriptDefs(dir: string, output: string, genP
44

55
export declare function getLanguages(): object
66

7+
export interface JsLangError {
8+
code: string
9+
severity: string
10+
lang: string
11+
engine?: string
12+
key?: string
13+
message: string
14+
}
15+
716
export declare function loadCachedLangs(dir: string): object
817

9-
export declare function loadCustomLanguage(dir: string, customDir: string): boolean
18+
export declare function loadCustomLanguage(dir: string, customDir: string): Array<JsLangError>
1019

1120
export declare function loadLangs(dir: string): object

0 commit comments

Comments
 (0)