Fix type of PO.Item

This commit is contained in:
Kirill Kubryakov 2020-04-21 10:25:53 +03:00 committed by GitHub
parent 0359aa12a4
commit d92e1f9e89
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;