Comparing version 0.1.10 to 0.1.11
@@ -97,10 +97,2 @@ import {IsEqual} from './comparison'; | ||
// Function | ||
export type ParamsType<T extends (...args: any[]) => any> = T extends ( | ||
...args: infer TParams | ||
) => any | ||
? TParams | ||
: never; | ||
// Miscellaneous | ||
@@ -112,2 +104,6 @@ | ||
export type PromiseType< | ||
TPromise extends Promise<any> | ||
> = TPromise extends Promise<infer T> ? T : never; | ||
type __DeepReadonly<T> = {readonly [P in keyof T]: DeepReadonly<T[P]>}; | ||
@@ -114,0 +110,0 @@ |
{ | ||
"name": "tslang", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "TypeScript Language Type Utilities.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
4472
115