@code-workers.io/ts-types
Advanced tools
| export declare type Nullable<T> = T | null; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| //# sourceMappingURL=nullable.js.map |
| {"version":3,"file":"nullable.js","sourceRoot":"","sources":["../../../../../packages/ts-types/src/lib/nullable.ts"],"names":[],"mappings":""} |
| export declare type Optional<T> = T | null | undefined; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| //# sourceMappingURL=optional.js.map |
| {"version":3,"file":"optional.js","sourceRoot":"","sources":["../../../../../packages/ts-types/src/lib/optional.ts"],"names":[],"mappings":""} |
+1
-1
| { | ||
| "name": "@code-workers.io/ts-types", | ||
| "version": "1.1.0", | ||
| "version": "1.2.0", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Typescript utility types", |
+4
-2
@@ -1,2 +0,2 @@ | ||
| # ts-types | ||
| # @code-workers.io/ts-types | ||
@@ -26,3 +26,5 @@ A collection of TypeScript utitlty types to make your life easier. | ||
| - `KeyOf`: Get the keys of an type as string literal | ||
| - `KeyOf`: get the keys of an type as string literal | ||
| - `Nullable`: shorthand for `T | null` | ||
| - `Optional`: shorthand for `T | null | undefined` | ||
@@ -29,0 +31,0 @@ ## strict-types |
+2
-0
| export * from './lib/key-of'; | ||
| export * from './lib/optional'; | ||
| export * from './lib/nullable'; | ||
| export * from './lib/strict-types/strict-object'; | ||
@@ -3,0 +5,0 @@ export * from './lib/strict-types/strict-number'; |
+2
-0
@@ -5,2 +5,4 @@ "use strict"; | ||
| tslib_1.__exportStar(require("./lib/key-of"), exports); | ||
| tslib_1.__exportStar(require("./lib/optional"), exports); | ||
| tslib_1.__exportStar(require("./lib/nullable"), exports); | ||
| tslib_1.__exportStar(require("./lib/strict-types/strict-object"), exports); | ||
@@ -7,0 +9,0 @@ tslib_1.__exportStar(require("./lib/strict-types/strict-number"), exports); |
+1
-1
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ts-types/src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAE7B,2EAAiD;AACjD,2EAAiD;AACjD,2EAAiD;AACjD,4EAAkD;AAClD,0EAAgD"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ts-types/src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,yDAA+B;AAC/B,yDAA+B;AAE/B,2EAAiD;AACjD,2EAAiD;AACjD,2EAAiD;AACjD,4EAAkD;AAClD,0EAAgD"} |
5406
20.62%29
26.09%50
25%43
4.88%