runtypex 0.1.9 → 0.1.11

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.
@@ -6,5 +6,6 @@
6
6
  * NOTE: These factories are replaced at build-time by the transformer.
7
7
  */
8
8
  export type ValidateFn<T> = (value: unknown) => value is T;
9
+ export type AssertFn<T> = (value: unknown) => asserts value is T;
9
10
  export declare function makeValidate<T>(): ValidateFn<T>;
10
- export declare function makeAssert<T>(): (value: unknown) => asserts value is T;
11
+ export declare function makeAssert<T>(): AssertFn<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runtypex",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Runtime type guards compiled from TypeScript types.",
5
5
  "license": "MIT",
6
6
  "author": "KumJungMin",