Skip to content

Commit

Permalink
feat: TAnd accepts any number of values
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarolyi committed Mar 10, 2022
1 parent d84cda9 commit 4ee44a0
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 76 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const TNumberBiggerThan10 = TValidate(
## Exported utility tpyes

- [GuardedType](/docs/modules.md#guardedtype)
- [SchemaType](/docs/modules.md#schematype)
- [ValidationError](/docs/classes/ValidationError.md)

## Tree shaking

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const TNumberBiggerThan10 = TValidate(
## Exported utility tpyes

- [GuardedType](/docs/modules.md#guardedtype)
- [SchemaType](/docs/modules.md#schematype)
- [ValidationError](/docs/classes/ValidationError.md)

## Tree shaking

Expand Down
6 changes: 3 additions & 3 deletions docs/classes/Guard.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ An abstract class, which is the parent class of all Guards. (Names starting with

#### Defined in

[src/Guard.ts:11](https://github.com/davidkarolyi/tguard/blob/0dd2269/src/Guard.ts#L11)
[src/Guard.ts:11](https://github.com/davidkarolyi/tguard/blob/d84cda9/src/Guard.ts#L11)

## Methods

Expand All @@ -67,7 +67,7 @@ An abstract class, which is the parent class of all Guards. (Names starting with

#### Defined in

[src/Guard.ts:13](https://github.com/davidkarolyi/tguard/blob/0dd2269/src/Guard.ts#L13)
[src/Guard.ts:13](https://github.com/davidkarolyi/tguard/blob/d84cda9/src/Guard.ts#L13)

___

Expand All @@ -87,4 +87,4 @@ value is T

#### Defined in

[src/Guard.ts:12](https://github.com/davidkarolyi/tguard/blob/0dd2269/src/Guard.ts#L12)
[src/Guard.ts:12](https://github.com/davidkarolyi/tguard/blob/d84cda9/src/Guard.ts#L12)
6 changes: 3 additions & 3 deletions docs/classes/ValidationError.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Error.constructor

#### Defined in

[src/errors.ts:5](https://github.com/davidkarolyi/tguard/blob/0dd2269/src/errors.ts#L5)
[src/errors.ts:5](https://github.com/davidkarolyi/tguard/blob/d84cda9/src/errors.ts#L5)

## Properties

Expand All @@ -58,7 +58,7 @@ Error.constructor

#### Defined in

[src/errors.ts:3](https://github.com/davidkarolyi/tguard/blob/0dd2269/src/errors.ts#L3)
[src/errors.ts:3](https://github.com/davidkarolyi/tguard/blob/d84cda9/src/errors.ts#L3)

___

Expand Down Expand Up @@ -96,7 +96,7 @@ ___

#### Defined in

[src/errors.ts:2](https://github.com/davidkarolyi/tguard/blob/0dd2269/src/errors.ts#L2)
[src/errors.ts:2](https://github.com/davidkarolyi/tguard/blob/d84cda9/src/errors.ts#L2)

___

Expand Down
Loading

0 comments on commit 4ee44a0

Please sign in to comment.