Merge pull request #38 from kirillku/patch-1

Fix type of PO.Item
This commit is contained in:
Ruben Vermeersch 2020-04-21 09:37:31 +02:00 committed by GitHub
commit fe23027f32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
pofile.d.ts vendored
View File

@ -36,7 +36,7 @@ declare class PO {
public static parse(data: string): PO; public static parse(data: string): PO;
public static parsePluralForms(forms: string): PO; public static parsePluralForms(forms: string): PO;
public static load(fileName: string, callback: (err: NodeJS.ErrnoException, po: PO) => void): void; public static load(fileName: string, callback: (err: NodeJS.ErrnoException, po: PO) => void): void;
public static Item: typeof Item; public static Item: Item;
public save(fileName: string, callback: (err: NodeJS.ErrnoException) => void): void; public save(fileName: string, callback: (err: NodeJS.ErrnoException) => void): void;
public toString(): string; public toString(): string;