Make obsolete public

Currently, it is impossible in TypeScript to tell if an item is obsolete or not.
This commit is contained in:
Iddan Aaronsohn 2022-01-19 16:14:10 +02:00 committed by GitHub
parent 8d2b93c6c7
commit 61363b872b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
pofile.d.ts vendored
View File

@ -21,8 +21,8 @@ declare class Item {
public comments: string[]; public comments: string[];
public extractedComments: string[]; public extractedComments: string[];
public flags: Record<string, boolean | undefined>; public flags: Record<string, boolean | undefined>;
public obsolete: boolean;
private nplurals: number; private nplurals: number;
private obsolete: boolean;
public toString(): string; public toString(): string;
} }