Skip to content

Commit

Permalink
exporting default types (this is a monkey patching that manually expo…
Browse files Browse the repository at this point in the history
…rts the types, because index.js is in the repo root)
  • Loading branch information
erikyo committed Apr 15, 2024
1 parent 8306b11 commit 728ca78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ export interface mo {
parse: (buffer: Buffer | string, defaultCharset?: string) => GetTextTranslations;
compile: (table: GetTextTranslations, options?: parserOptions) => Buffer;
}

export * from "./@types";

export default { po, mo };

0 comments on commit 728ca78

Please sign in to comment.