mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-10 09:40:21 +08:00
added missing formatOutOfCountryCallingNumber function to definitions of google-libphonenumber (#25513)
* updated google-libphonenumber utils function with formatOutOfCountryCallingNumber that was missing * updated spaces
This commit is contained in:
committed by
Sheetal Nandi
parent
44e58864bd
commit
bc47bffd04
2
types/google-libphonenumber/index.d.ts
vendored
2
types/google-libphonenumber/index.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
// Type definitions for libphonenumber v7.4.3
|
||||
// Project: https://github.com/googlei18n/libphonenumber, https://github.com/seegno/google-libphonenumber
|
||||
// Definitions by: Leon Yu <https://github.com/leonyu>
|
||||
// Roman Jurkov <https://github.com/winfinit>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace libphonenumber {
|
||||
@@ -112,6 +113,7 @@ declare namespace libphonenumber {
|
||||
export class PhoneNumberUtil {
|
||||
static getInstance(): PhoneNumberUtil
|
||||
format(phoneNumber: PhoneNumber, format: PhoneNumberFormat): string;
|
||||
formatOutOfCountryCallingNumber(phoneNumber: PhoneNumber, regionDialingFrom?: string): string;
|
||||
getNddPrefixForRegion(regionCode?: string, stripNonDigits?: boolean): string | undefined;
|
||||
getNumberType(phoneNumber: PhoneNumber): PhoneNumberType;
|
||||
getCountryCodeForRegion(supportedRegion:string):string;
|
||||
|
||||
Reference in New Issue
Block a user