Skip to content

Commit

Permalink
fix(typings): fixed type of getCountryCode() to return number not string
Browse files Browse the repository at this point in the history
fix #39
  • Loading branch information
grantila committed Sep 11, 2019
1 parent 7bf36b4 commit 49e4782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ declare namespace AwesomePhonenumber
getNumber( type?: PhoneNumberFormat ): string;
getNumberFrom( regionCode: string ): string;
getRegionCode( ): string;
getCountryCode( ): string;
getCountryCode( ): number;
toJSON( ): any;

static getCountryCodeForRegionCode( regionCode: string ): number;
Expand Down

0 comments on commit 49e4782

Please sign in to comment.