is-kit 1.16.3 → 1.16.4

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/README.md CHANGED
@@ -103,8 +103,8 @@ vlt install is-kit
103
103
  ```
104
104
 
105
105
  ESM and CJS builds are available for npm consumers, and bundled types are included.
106
- The published declarations support TypeScript 5.7 and newer. CI compiles the
107
- packed package against every TypeScript minor from 5.7 through the current
106
+ The published declarations support TypeScript 5.4 and newer. CI compiles the
107
+ packed package against every TypeScript minor from 5.4 through the current
108
108
  stable release.
109
109
 
110
110
  TypeScript 7 can type-check is-kit declarations, but TypeScript 7.0 does not
package/dist/index.d.mts CHANGED
@@ -670,13 +670,13 @@ export declare const isArrayBuffer: Guard$1<ArrayBuffer>;
670
670
  *
671
671
  * @returns Predicate narrowing to `DataView`.
672
672
  */
673
- export declare const isDataView: Guard$1<DataView<ArrayBufferLike>>;
673
+ export declare const isDataView: Guard$1<DataView>;
674
674
  /**
675
675
  * Checks whether a value is a typed array view (any `ArrayBufferView` except DataView).
676
676
  *
677
677
  * @returns Predicate narrowing to `ArrayBufferView`.
678
678
  */
679
- export declare const isTypedArray: Predicate<ArrayBufferView<ArrayBufferLike>>;
679
+ export declare const isTypedArray: Guard$1<ArrayBufferView>;
680
680
  /**
681
681
  * Checks whether a value is an `Error`.
682
682
  *
package/dist/index.d.ts CHANGED
@@ -670,13 +670,13 @@ export declare const isArrayBuffer: Guard$1<ArrayBuffer>;
670
670
  *
671
671
  * @returns Predicate narrowing to `DataView`.
672
672
  */
673
- export declare const isDataView: Guard$1<DataView<ArrayBufferLike>>;
673
+ export declare const isDataView: Guard$1<DataView>;
674
674
  /**
675
675
  * Checks whether a value is a typed array view (any `ArrayBufferView` except DataView).
676
676
  *
677
677
  * @returns Predicate narrowing to `ArrayBufferView`.
678
678
  */
679
- export declare const isTypedArray: Predicate<ArrayBufferView<ArrayBufferLike>>;
679
+ export declare const isTypedArray: Guard$1<ArrayBufferView>;
680
680
  /**
681
681
  * Checks whether a value is an `Error`.
682
682
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-kit",
3
- "version": "1.16.3",
3
+ "version": "1.16.4",
4
4
  "description": "Zero-dependency TypeScript runtime validation toolkit for composable type guards and natural type narrowing.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",