type-fest
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -13,4 +13,5 @@ // Basic | ||
export {Promisable} from './source/promisable'; | ||
export {Opaque} from './source/opaque'; | ||
// Miscellaneous | ||
export {PackageJson} from './source/package-json'; |
{ | ||
"name": "type-fest", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "A collection of essential TypeScript types", | ||
@@ -5,0 +5,0 @@ "license": "(MIT OR CC0-1.0)", |
@@ -75,2 +75,3 @@ <div align="center"> | ||
- [`Promisable`](source/promisable.d.ts) - Create a type that represents either the value or the value wrapped in `PromiseLike`. | ||
- [`Opaque`](source/opaque.d.ts) - Create an [opaque type](https://codemix.com/opaque-types-in-javascript/). | ||
@@ -77,0 +78,0 @@ ### Miscellaneous |
@@ -20,3 +20,3 @@ /// <reference lib="esnext"/> | ||
*/ | ||
export type Class<T = unknown> = new(...arguments_: any[]) => T; | ||
export type Class<T = unknown, Arguments extends any[] = any[]> = new(...arguments_: Arguments) => T; | ||
@@ -23,0 +23,0 @@ /** |
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
31190
15
721
121