Comparing version 1.2.1 to 1.2.2
import { ITSArrayListMaybeReadonly } from './type/base'; | ||
import { ITSUnpackedReturnType } from './helper/unpacked'; | ||
import { ITSUnpackedArrayLike, ITSUnpackedReturnType } from './helper/unpacked'; | ||
/** | ||
@@ -15,2 +15,5 @@ * @see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html | ||
export declare type ITSPickMember<T, K extends keyof T> = T[K]; | ||
/** | ||
* @deprecated | ||
*/ | ||
export declare type ITSDiff<T extends keyof any, U extends keyof any> = ({ | ||
@@ -26,3 +29,3 @@ [P in T]: P; | ||
*/ | ||
export declare type ITSPickNot<T, K extends keyof any> = Pick<T, ITSDiff<keyof T, K>>; | ||
export declare type ITSPickNot<T, K extends keyof T> = Omit<T, K>; | ||
/** | ||
@@ -36,3 +39,3 @@ * @see https://stackoverflow.com/questions/49198713/override-the-properties-of-an-interface-in-typescript | ||
*/ | ||
export declare type ITSOverwrite<T, U> = Pick<T, ITSDiff<keyof T, keyof U>> & U; | ||
export declare type ITSOverwrite<T, U> = Omit<T, keyof U> & U; | ||
/** | ||
@@ -54,1 +57,27 @@ * copy current function with Parameters and return to new value | ||
export declare type ITSValueOfArray<T extends ITSArrayListMaybeReadonly<any>> = T[ITSKeyOfArray<T>]; | ||
/** | ||
* pick K and mark as Required | ||
*/ | ||
export declare type ITSRequiredPick<T, K extends keyof T> = { | ||
[P in K]-?: T[P]; | ||
}; | ||
/** | ||
* pick K and mark as Partial | ||
*/ | ||
export declare type ITSPartialPick<T, K extends keyof T> = { | ||
[P in K]?: T[P]; | ||
}; | ||
/** | ||
* clone a type and mark all RK is Required, PK is Partial | ||
*/ | ||
export declare type ITSPickExtra<T, RK extends keyof T, PK extends Exclude<keyof T, RK> = Exclude<keyof T, RK>> = ITSRequiredPick<T, RK> & ITSPartialPick<T, PK>; | ||
export declare type ITSRequiredWith<T, K extends keyof T> = Omit<T, K> & ITSRequiredPick<T, K>; | ||
export declare type ITSPartialWith<T, K extends keyof T> = Omit<T, K> & ITSPartialPick<T, K>; | ||
export declare type ITSWriteable<T> = ITSWriteablePick<T, keyof T>; | ||
export declare type ITSWriteablePick<T, K extends keyof T> = { | ||
-readonly [P in K]: T[P]; | ||
}; | ||
export declare type ITSWriteableWith<T, K extends keyof T> = Omit<T, K> & ITSWriteablePick<T, K>; | ||
export declare type ITSReadonlyToWriteableArray<T extends readonly any[]> = Omit<T, keyof any[]> & ITSUnpackedArrayLike<T>[] & { | ||
-readonly [P in number | 'length']: T[P]; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaGVscGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgQmx1ZWJpcmQgPSByZXF1aXJlKCdibHVlYmlyZCcpO1xuaW1wb3J0IHsgSVRTQXJyYXlMaXN0TWF5YmVSZWFkb25seSB9IGZyb20gJy4vdHlwZS9iYXNlJztcbmltcG9ydCB7IElUU1VucGFja2VkUmV0dXJuVHlwZSB9IGZyb20gJy4vaGVscGVyL3VucGFja2VkJztcblxuLyoqXG4gKiBAc2VlIGh0dHBzOi8vd3d3LnR5cGVzY3JpcHRsYW5nLm9yZy9kb2NzL2hhbmRib29rL3JlbGVhc2Utbm90ZXMvdHlwZXNjcmlwdC0yLTguaHRtbFxuICpcbiAqIEFkZCByZWFkb25seSBhbmQgP1xuICovXG5leHBvcnQgdHlwZSBJVFNSZWFkb25seVBhcnRpYWw8VD4gPSB7XG5cdHJlYWRvbmx5IFtQIGluIGtleW9mIFRdPzogVFtQXVxufTtcblxuLyoqXG4gKiBAc2VlIGh0dHBzOi8vc3RhY2tvdmVyZmxvdy5jb20vcXVlc3Rpb25zLzQ5MTk4NzEzL292ZXJyaWRlLXRoZS1wcm9wZXJ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uLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnlcbmV4cG9ydCB0eXBlIElUU1JlYWRvbmx5VG9Xcml0ZWFibGVBcnJheTxUIGV4dGVuZHMgcmVhZG9ubHkgYW55W10+ID0gT21pdDxULCBrZXlvZiBhbnlbXT4gJiBJVFNVbnBhY2tlZEFycmF5TGlrZTxUPltdICYge1xuXHQtcmVhZG9ubHkgW1AgaW4gbnVtYmVyIHwgJ2xlbmd0aCddOiBUW1BdXG59O1xuIl19 |
@@ -12,2 +12,2 @@ /** | ||
export declare type ITSUnpackedIteratorLike<T extends Iterator<any> | IteratorResult<any>> = T extends Iterator<infer U> ? ITSUnpacked<U> : T extends IteratorResult<infer U> ? ITSUnpacked<U> : T; | ||
export declare type ITSUnpackedArrayLike<T extends ArrayLike<any> | any[]> = T extends (infer U)[] ? ITSUnpacked<U> : T extends ArrayLike<infer U> ? ITSUnpacked<U> : T; | ||
export declare type ITSUnpackedArrayLike<T extends ArrayLike<any> | any[]> = T extends (infer U)[] ? ITSUnpacked<U> : T extends readonly (infer U)[] ? ITSUnpacked<U> : T extends ArrayLike<infer U> ? ITSUnpacked<U> : T; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5wYWNrZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ1bnBhY2tlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiXG4vKipcbiAqIGZvciBJdGVyYXRvciBJdGVyYXRvclJlc3VsdFxuICovXG4vKipcbiAqIEBzZWUgaHR0cHM6Ly93d3cudHlwZXNjcmlwdGxhbmcub3JnL2RvY3MvaGFuZGJvb2svcmVsZWFzZS1ub3Rlcy90eXBlc2NyaXB0LTItOC5odG1sXG4gKi9cbmlt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0ZW5kcyBJdGVyYXRvclJlc3VsdDxpbmZlciBVPiA/IElUU1VucGFja2VkPFU+IDpcblx0XHRcdFRcblx0O1xuZXhwb3J0IHR5cGUgSVRTVW5wYWNrZWRBcnJheUxpa2U8VCBleHRlbmRzIEFycmF5TGlrZTxhbnk+IHwgYW55W10+ID1cblx0VCBleHRlbmRzIChpbmZlciBVKVtdID8gSVRTVW5wYWNrZWQ8VT4gOlxuXHRcdFQgZXh0ZW5kcyByZWFkb25seSAoaW5mZXIgVSlbXSA/IElUU1VucGFja2VkPFU+IDpcblx0XHRcdFQgZXh0ZW5kcyBBcnJheUxpa2U8aW5mZXIgVT4gPyBJVFNVbnBhY2tlZDxVPiA6XG5cdFx0XHRcdFRcblx0O1xuIl19 |
@@ -5,1 +5,2 @@ /** | ||
export declare type ITSArrayListMaybeReadonly<T> = T[] | readonly T[]; | ||
export declare type ITSKeys = symbol | string | number; |
@@ -6,2 +6,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOztHQUVHIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDcmVhdGVkIGJ5IHVzZXIgb24gMjAxOS81LzE3LlxuICovXG5cbmV4cG9ydCB0eXBlIElUU0FycmF5TGlzdE1heWJlUmVhZG9ubHk8VD4gPSBUW10gfCByZWFkb25seSBUW107XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOztHQUVHIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDcmVhdGVkIGJ5IHVzZXIgb24gMjAxOS81LzE3LlxuICovXG5cbmV4cG9ydCB0eXBlIElUU0FycmF5TGlzdE1heWJlUmVhZG9ubHk8VD4gPSBUW10gfCByZWFkb25seSBUW107XG5cbmV4cG9ydCB0eXBlIElUU0tleXMgPSBzeW1ib2wgfCBzdHJpbmcgfCBudW1iZXI7XG4iXX0= |
{ | ||
"name": "ts-type", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "add some typescript type and re-export some build-in typescript type", | ||
@@ -49,2 +49,3 @@ "keywords": [ | ||
"prepublishOnly": "npm run ncu && npm run sort-package-json && npm run build && npm run test", | ||
"postpublish": "git commit -m \"publish new version\" .", | ||
"sort-package-json": "npx sort-package-json ./package.json", | ||
@@ -59,3 +60,3 @@ "test": "npm run lint" | ||
"devDependencies": { | ||
"@bluelovers/tsconfig": "^1.0.3", | ||
"@bluelovers/tsconfig": "^1.0.6", | ||
"@typescript-eslint/eslint-plugin": "^1.9.0" | ||
@@ -62,0 +63,0 @@ }, |
@@ -116,2 +116,3 @@ # README | ||
- [callable-instance2](https://www.npmjs.com/package/callable-instance2) - create an ES6 class that is callable as a function | ||
- https://github.com/piotrwitek/utility-types | ||
- | ||
@@ -123,1 +124,3 @@ | ||
- https://www.tslang.cn/docs/release-notes/typescript-3.1.html#toc-whats-new | ||
- https://www.logicbig.com/tutorials/misc/typescript.html | ||
- |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
25621
196
125
0