Skip to content

Commit ae8cba6

Browse files
committed
exporting default types (this is a monkey patching that manually exports the types, because index.js is in the repo root)
1 parent 8306b11 commit ae8cba6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,7 @@ export interface mo {
4848
parse: (buffer: Buffer | string, defaultCharset?: string) => GetTextTranslations;
4949
compile: (table: GetTextTranslations, options?: parserOptions) => Buffer;
5050
}
51+
52+
export * from "./@types";
53+
54+
export default { po, mo } as { po: po, mo: mo };

0 commit comments

Comments
 (0)