2 Commits

Author SHA1 Message Date
Ruben Vermeersch
cfe01e8aea Release v1.0.8 2017-04-24 20:38:10 +02:00
megaboich
14bad962eb Updated Typescript definitions (#29) 2017-04-24 20:36:49 +02:00
3 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "pofile", "name": "pofile",
"version": "1.0.7", "version": "1.0.8",
"authors": [ "authors": [
"Ruben Vermeersch <ruben@rocketeer.be>" "Ruben Vermeersch <ruben@rocketeer.be>"
], ],

View File

@@ -1,7 +1,7 @@
{ {
"name": "pofile", "name": "pofile",
"description": "Parse and serialize Gettext PO files.", "description": "Parse and serialize Gettext PO files.",
"version": "1.0.7", "version": "1.0.8",
"author": { "author": {
"name": "Ruben Vermeersch", "name": "Ruben Vermeersch",
"email": "ruben@savanne.be", "email": "ruben@savanne.be",

12
pofile.d.ts vendored
View File

@@ -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