Skip to content

Commit 8ccf88f

Browse files
Merge pull request #2 from angular-package/3.1.x
3.1.x
2 parents 7c21e91 + 263f5cb commit 8ccf88f

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

packages/type/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/type/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-package/type",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"description": "Common types, type guards and checkers for @angular-package library.",
55
"author": "Angular Package <angular-package@wvvw.dev> (http://wvvw.dev)",
66
"homepage": "https://github.com/angular-package/type#readme",

packages/type/src/guard/interface/guard-is.interface.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ import { GuardObjectKey } from '../type/guard-object-key.type';
66
import { GuardPrimitive } from '../type/guard-primitive.type';
77
import { GuardString } from '../type/guard-string.type';
88
import { GuardType } from '../type/guard-type.type';
9+
import { GuardObject } from '../type/guard-object.type';
910

1011
export interface GuardIs {
1112
array: GuardArray;
1213
function: GuardFunction;
1314
// TODO: Guard not
1415
// not: Partial<GuardNotIs>;
1516
number: GuardNumber;
17+
object: GuardObject;
1618
objectKey: GuardObjectKey;
17-
object: GuardObjectKey;
1819
primitive: GuardPrimitive;
1920
string: GuardString;
2021
type: GuardType;

packages/type/src/public-api.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Public API Surface of type
33
*/
4+
export { typeOf } from './lib/type-of.func';
5+
46
// `guard` object.
57
export { guard } from './guard';
68
// `guard` functions.

0 commit comments

Comments
 (0)