@antfu/utils
Advanced tools
Comparing version 0.0.3 to 0.0.4
/** | ||
* Promise, or maybe not | ||
*/ | ||
declare type Thenable<T> = T | Promise<T>; | ||
declare type Awaitable<T> = T | PromiseLike<T>; | ||
/** | ||
* Null or underfind whatever | ||
*/ | ||
declare type Nullable<T> = T | null | undefined | void; | ||
declare type Nullable<T> = T | null | undefined; | ||
/** | ||
@@ -112,2 +112,2 @@ * Array, or not yet | ||
export { Arrayable, ElementOf, Fn, Nullable, Thenable, assert, batchInvoke, clamp, flattenArrayable, invoke, isBoolean, isBrowser, isDef, isFunction, isNotNull, isNumber, isObject, isString, isTruthy, isWindow, mergeArrayable, noop, objectMap, partition, slash, sum, timestamp, toArray, toString }; | ||
export { Arrayable, Awaitable, ElementOf, Fn, Nullable, assert, batchInvoke, clamp, flattenArrayable, invoke, isBoolean, isBrowser, isDef, isFunction, isNotNull, isNumber, isObject, isString, isTruthy, isWindow, mergeArrayable, noop, objectMap, partition, slash, sum, timestamp, toArray, toString }; |
{ | ||
"name": "@antfu/utils", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Opinionated collection of common JavaScript / TypeScript utils by @antfu", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -9,3 +9,3 @@ # @antfu/utils | ||
- Fully typed - with TSDocs | ||
- Type utilities - `Thenable<T>` `Arrayable<T>` etc | ||
- Type utilities - `Arrayable<T>`, `ElementOf<T>`, etc. | ||
@@ -12,0 +12,0 @@ > This package is designed to be used as `devDependencies` and bundled into your dist. |
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
11152