@infra-blocks/types 0.8.0-alpha.1 → 0.9.0-alpha.0
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/lib/cjs/index.d.ts +0 -10
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +0 -10
- package/lib/esm/index.js.map +1 -1
- package/package.json +1 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -23,16 +23,6 @@ export type Nullable<T> = T | null | undefined;
|
|
|
23
23
|
* See here: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html
|
|
24
24
|
*/
|
|
25
25
|
export type UnpackedArray<T> = T extends (infer U)[] ? U : never;
|
|
26
|
-
/**
|
|
27
|
-
* A convenience type extractor to get the inner type of a promise.
|
|
28
|
-
*
|
|
29
|
-
* It will cause compilation errors if T isn't a promise.
|
|
30
|
-
*
|
|
31
|
-
* See here: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html
|
|
32
|
-
*
|
|
33
|
-
* @deprecated Use built-in {@link Awaited} instead.
|
|
34
|
-
*/
|
|
35
|
-
export type UnpackedPromise<T> = T extends Promise<infer U> ? U : never;
|
|
36
26
|
/**
|
|
37
27
|
* A convenience type mapping that transitively make partial fields optional.
|
|
38
28
|
*
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,8CAA4B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,8CAA4B;AA8C5B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,WAAW,CAAC,KAAY;IACtC,OAAO,KAAK,CAAC;AACf,CAAC;AAFD,kCAEC"}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -23,16 +23,6 @@ export type Nullable<T> = T | null | undefined;
|
|
|
23
23
|
* See here: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html
|
|
24
24
|
*/
|
|
25
25
|
export type UnpackedArray<T> = T extends (infer U)[] ? U : never;
|
|
26
|
-
/**
|
|
27
|
-
* A convenience type extractor to get the inner type of a promise.
|
|
28
|
-
*
|
|
29
|
-
* It will cause compilation errors if T isn't a promise.
|
|
30
|
-
*
|
|
31
|
-
* See here: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html
|
|
32
|
-
*
|
|
33
|
-
* @deprecated Use built-in {@link Awaited} instead.
|
|
34
|
-
*/
|
|
35
|
-
export type UnpackedPromise<T> = T extends Promise<infer U> ? U : never;
|
|
36
26
|
/**
|
|
37
27
|
* A convenience type mapping that transitively make partial fields optional.
|
|
38
28
|
*
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AA8C5B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,UAAU,WAAW,CAAC,KAAY;IACtC,OAAO,KAAK,CAAC;AACf,CAAC"}
|