inferred-types 0.50.12 → 0.50.13
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/dist/index.cjs +68 -1
- package/dist/index.js +58 -1
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/literals/stripChars.js +1 -1
- package/dist/runtime/literals/stripSurround.d.ts +2 -2
- package/dist/runtime/literals/stripSurround.d.ts.map +1 -1
- package/dist/runtime/literals/stripSurround.js +1 -1
- package/dist/runtime/runtime-types/asToken.d.ts.map +1 -1
- package/dist/runtime/runtime-types/asToken.js +0 -6
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/type-guards/geo/index.d.ts +4 -0
- package/dist/runtime/type-guards/geo/index.d.ts.map +1 -0
- package/dist/runtime/type-guards/geo/index.js +3 -0
- package/dist/runtime/type-guards/geo/isIso3166Alpha2.d.ts +46 -0
- package/dist/runtime/type-guards/geo/isIso3166Alpha2.d.ts.map +1 -0
- package/dist/runtime/type-guards/{countries → geo}/isIso3166Alpha2.js +36 -0
- package/dist/runtime/type-guards/geo/isUsState.d.ts +4 -0
- package/dist/runtime/type-guards/geo/isUsState.d.ts.map +1 -0
- package/dist/runtime/type-guards/geo/isUsState.js +10 -0
- package/dist/runtime/type-guards/geo/isZipCode.d.ts +23 -0
- package/dist/runtime/type-guards/geo/isZipCode.d.ts.map +1 -0
- package/dist/runtime/type-guards/geo/isZipCode.js +40 -0
- package/dist/runtime/type-guards/index.d.ts +1 -1
- package/dist/runtime/type-guards/index.d.ts.map +1 -1
- package/dist/runtime/type-guards/index.js +1 -1
- package/dist/runtime/type-guards/retail.d.ts +6 -1
- package/dist/runtime/type-guards/retail.d.ts.map +1 -1
- package/dist/runtime/type-guards/retail.js +7 -0
- package/dist/types/runtime-types/Shape.d.ts +2 -2
- package/dist/types/runtime-types/Shape.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/retail-urls.d.ts +4 -0
- package/dist/types/string-literals/character-sets/retail-urls.d.ts.map +1 -1
- package/dist/types/string-literals/geo/zip.d.ts +3 -3
- package/dist/types/string-literals/geo/zip.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/runtime/type-guards/countries/index.d.ts +0 -2
- package/dist/runtime/type-guards/countries/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/countries/index.js +0 -1
- package/dist/runtime/type-guards/countries/isIso3166Alpha2.d.ts +0 -21
- package/dist/runtime/type-guards/countries/isIso3166Alpha2.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/runtime/type-guards/countries/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./isIso3166Alpha2";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Iso3166_1_Alpha2, Iso3166_1_Alpha3, Iso3166_1_CountryCode, Iso3166_1_CountryName } from "src/types/index";
|
|
2
|
-
/**
|
|
3
|
-
* Type guard which checks whether `val` is a 2 character country
|
|
4
|
-
* representation found in the ISO3166-1 standard.
|
|
5
|
-
*/
|
|
6
|
-
export declare const isIso3166Alpha2: (val: unknown) => val is Iso3166_1_Alpha2;
|
|
7
|
-
/**
|
|
8
|
-
* Type guard which checks whether `val` is a 3 character country
|
|
9
|
-
* representation found in the ISO3166-1 standard.
|
|
10
|
-
*/
|
|
11
|
-
export declare const isIso3166Alpha3: (val: unknown) => val is Iso3166_1_Alpha3;
|
|
12
|
-
/**
|
|
13
|
-
* Type guard which checks whether `val` is a 3 character country
|
|
14
|
-
* representation found in the ISO3166-1 standard.
|
|
15
|
-
*/
|
|
16
|
-
export declare const isIso3166CountryCode: (val: unknown) => val is Iso3166_1_CountryCode;
|
|
17
|
-
/**
|
|
18
|
-
* Type guard which checks whether `val` is a valid ISO3166-1 country name.
|
|
19
|
-
*/
|
|
20
|
-
export declare const isIso3166CountryName: (val: unknown) => val is Iso3166_1_CountryName;
|
|
21
|
-
//# sourceMappingURL=isIso3166Alpha2.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isIso3166Alpha2.d.ts","sourceRoot":"","sources":["../../../../src/runtime/type-guards/countries/isIso3166Alpha2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAInH;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAS,OAAO,KAAG,GAAG,IAAI,gBAGrD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAS,OAAO,KAAG,GAAG,IAAI,gBAGrD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,QAAS,OAAO,KAAG,GAAG,IAAI,qBAG1D,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,QAAS,OAAO,KAAG,GAAG,IAAI,qBAG1D,CAAA"}
|