Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cfe01e8aea | ||
|
|
14bad962eb |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pofile",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"authors": [
|
||||
"Ruben Vermeersch <ruben@rocketeer.be>"
|
||||
],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "pofile",
|
||||
"description": "Parse and serialize Gettext PO files.",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"author": {
|
||||
"name": "Ruben Vermeersch",
|
||||
"email": "ruben@savanne.be",
|
||||
|
||||
12
pofile.d.ts
vendored
12
pofile.d.ts
vendored
@@ -1,8 +1,8 @@
|
||||
declare module "pofile" {
|
||||
class PO {
|
||||
public static parse(data: string): PO;
|
||||
public static load(fileName: string, callback: (err: NodeJS.ErrnoException | null, po: PO) => void): void;
|
||||
declare module pofile {
|
||||
function parse(data: string): PO;
|
||||
function load(fileName: string, callback: (err: NodeJS.ErrnoException | null, po: PO) => void): void;
|
||||
|
||||
class PO {
|
||||
public comments: string[];
|
||||
public extractedComments: string[];
|
||||
public items: Item[];
|
||||
@@ -39,6 +39,6 @@ declare module "pofile" {
|
||||
|
||||
public toString(): string;
|
||||
}
|
||||
|
||||
export = PO;
|
||||
}
|
||||
|
||||
export = pofile
|
||||
|
||||
Reference in New Issue
Block a user