Skip to content

Commit f4a1f56

Browse files
authored
Merge pull request #2 from typescript-package/develop
v1.0.0
2 parents e446c6a + cd2da4f commit f4a1f56

File tree

3 files changed

+31
-14
lines changed

3 files changed

+31
-14
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,21 @@ export {
5555
} from '@typescript-package/are';
5656
```
5757

58+
## Validate
59+
60+
- [x] BigInt
61+
- [x] Boolean
62+
- [x] Date
63+
- [x] Defined
64+
- [x] False
65+
- [x] Null
66+
- [x] Number
67+
- [x] RegExp
68+
- [x] String
69+
- [x] Symbol
70+
- [x] True
71+
- [x] Undefined
72+
5873
## GIT
5974

6075
### Commit

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@typescript-package/are",
33
"version": "1.0.0",
44
"author": "wwwdev.io <[email protected]>",
5-
"description": "Type `are` checkers for typescript.",
5+
"description": "Type-safe `are` checkers for validating value types in TypeScript.",
66
"license": "MIT",
77
"publishConfig": {
88
"access": "public",
@@ -38,5 +38,5 @@
3838
"url": "https://checkout.revolut.com/pay/048b10a3-0e10-42c8-a917-e3e9cb4c8e29"
3939
}
4040
],
41-
"sideEffects": false,
41+
"sideEffects": false
4242
}

src/interface/are.interface.ts

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
// Function.
2-
import { areBigInt } from '../lib/are-bigint.func';
3-
import { areBoolean } from '../lib/are-boolean.func';
4-
import { areDate } from '../lib/are-date.func';
5-
import { areDefined } from '../lib/are-defined.func';
6-
import { areFalse } from '../lib/are-false.func';
7-
import { areNull } from '../lib/are-null.func';
8-
import { areNumber } from '../lib/are-number.func';
9-
import { areRegExp } from '../lib/are-regexp.func';
10-
import { areString } from '../lib/are-string.func';
11-
import { areSymbol } from '../lib/are-symbol.func';
12-
import { areTrue } from '../lib/are-true.func';
13-
import { areUndefined } from '../lib/are-undefined.func';
2+
import {
3+
areBigInt,
4+
areBoolean,
5+
areDate,
6+
areDefined,
7+
areFalse,
8+
areNull,
9+
areNumber,
10+
areRegExp,
11+
areString,
12+
areSymbol,
13+
areTrue,
14+
areUndefined,
15+
} from '../lib';
1416
/**
1517
* Represents the shape of an object that contains `are` prefixed functions.
1618
*/

0 commit comments

Comments
 (0)