Updated Typescript definitions (#29)
This commit is contained in:
parent
ff0e5655f9
commit
14bad962eb
12
pofile.d.ts
vendored
12
pofile.d.ts
vendored
@ -1,8 +1,8 @@
|
|||||||
declare module "pofile" {
|
declare module pofile {
|
||||||
class PO {
|
function parse(data: string): PO;
|
||||||
public static parse(data: string): PO;
|
function load(fileName: string, callback: (err: NodeJS.ErrnoException | null, po: PO) => void): void;
|
||||||
public static load(fileName: string, callback: (err: NodeJS.ErrnoException | null, po: PO) => void): void;
|
|
||||||
|
|
||||||
|
class PO {
|
||||||
public comments: string[];
|
public comments: string[];
|
||||||
public extractedComments: string[];
|
public extractedComments: string[];
|
||||||
public items: Item[];
|
public items: Item[];
|
||||||
@ -39,6 +39,6 @@ declare module "pofile" {
|
|||||||
|
|
||||||
public toString(): string;
|
public toString(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export = PO;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export = pofile
|
||||||
|
Loading…
Reference in New Issue
Block a user