libphonenumber-js 1.12.3 → 1.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.cts +0 -15
- package/index.d.ts +0 -15
- package/package.json +1 -1
package/index.d.cts
CHANGED
|
@@ -153,21 +153,6 @@ export function parse(text: string, options?: CountryCode | ParseNumberOptions):
|
|
|
153
153
|
*/
|
|
154
154
|
export function parseNumber(text: string, options?: CountryCode | ParseNumberOptions): ParsedNumber | {};
|
|
155
155
|
|
|
156
|
-
/**
|
|
157
|
-
* @deprecated
|
|
158
|
-
*/
|
|
159
|
-
type FormatExtension = (number: string, extension: string, metadata: MetadataJson) => string
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @deprecated
|
|
163
|
-
*/
|
|
164
|
-
export type FormatNumberOptions = {
|
|
165
|
-
v2?: boolean;
|
|
166
|
-
fromCountry?: CountryCode;
|
|
167
|
-
humanReadable?: boolean;
|
|
168
|
-
formatExtension?: FormatExtension;
|
|
169
|
-
};
|
|
170
|
-
|
|
171
156
|
/**
|
|
172
157
|
* @deprecated
|
|
173
158
|
*/
|
package/index.d.ts
CHANGED
|
@@ -153,21 +153,6 @@ export function parse(text: string, options?: CountryCode | ParseNumberOptions):
|
|
|
153
153
|
*/
|
|
154
154
|
export function parseNumber(text: string, options?: CountryCode | ParseNumberOptions): ParsedNumber | {};
|
|
155
155
|
|
|
156
|
-
/**
|
|
157
|
-
* @deprecated
|
|
158
|
-
*/
|
|
159
|
-
type FormatExtension = (number: string, extension: string, metadata: MetadataJson) => string
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @deprecated
|
|
163
|
-
*/
|
|
164
|
-
export type FormatNumberOptions = {
|
|
165
|
-
v2?: boolean;
|
|
166
|
-
fromCountry?: CountryCode;
|
|
167
|
-
humanReadable?: boolean;
|
|
168
|
-
formatExtension?: FormatExtension;
|
|
169
|
-
};
|
|
170
|
-
|
|
171
156
|
/**
|
|
172
157
|
* @deprecated
|
|
173
158
|
*/
|