typia 3.7.0-dev.20230402 → 3.7.0

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  export function is<T>(input: unknown | T): input is T; // returns boolean
11
11
  export function assert<T>(input: unknown | T): T; // throws TypeGuardError
12
12
  export function validate<T>(input: unknown | T): IValidation<T>; // detailed
13
- export const customValidators: CustomValidator; // can add custom validators
13
+ export const customValidators: CustomValidatorMap; // can add custom validators
14
14
 
15
15
  // STRICT VALIDATORS
16
16
  export function equals<T>(input: unknown | T): input is T;
@@ -202,7 +202,7 @@ export function createAssertEquals<T>(): (input: unknown) => T;
202
202
  export function createValidateEquals<T>(): (input: unknown) => IValidation<T>;
203
203
 
204
204
  // YOU CAN ADD CUSTOM VALIDATORS
205
- export const customValidators: CustomValidators;
205
+ export const customValidators: CustomValidatorMap;
206
206
  ```
207
207
 
208
208
  `typia` supports three type of validator functions:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typia",
3
- "version": "3.7.0-dev.20230402",
3
+ "version": "3.7.0",
4
4
  "description": "Superfast runtime validators with only one line",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",