rattail 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.cts CHANGED
@@ -201,7 +201,7 @@ declare function isMap(val: unknown): val is Map<any, any>;
201
201
 
202
202
  declare function isNonEmptyArray(val: unknown): val is any[];
203
203
 
204
- declare function isNullish<T>(val: T | null | undefined): val is NonNullable<T>;
204
+ declare function isNullish(val: unknown): val is null | undefined;
205
205
 
206
206
  declare function isNumber(val: unknown): val is number;
207
207
 
package/lib/index.d.ts CHANGED
@@ -201,7 +201,7 @@ declare function isMap(val: unknown): val is Map<any, any>;
201
201
 
202
202
  declare function isNonEmptyArray(val: unknown): val is any[];
203
203
 
204
- declare function isNullish<T>(val: T | null | undefined): val is NonNullable<T>;
204
+ declare function isNullish(val: unknown): val is null | undefined;
205
205
 
206
206
  declare function isNumber(val: unknown): val is number;
207
207
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rattail",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "A utilities library for front-end developers, lightweight and ts-friendly",
5
5
  "keywords": [
6
6
  "utilities library",