Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Commit

Permalink
Add simple TypeScript definition file
Browse files Browse the repository at this point in the history
Resolves #160
  • Loading branch information
WorldMaker committed Jul 28, 2017
1 parent f2bd923 commit 82a21b2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
declare class IntlMessageFormat {
constructor(message: string, locales: string | string[], formats?: any);
format(context?: any): string;
static defaultLocale: string;
}

export default IntlMessageFormat;

0 comments on commit 82a21b2

Please sign in to comment.