Skip to content

Commit 30afbc9

Browse files
committed
feat(undef): add TS support
1 parent e814326 commit 30afbc9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/index.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,10 @@ export declare var uni: typeof union;
108108
export declare var isUni: typeof union;
109109
export declare var passUni: typeof union;
110110

111+
export declare var undef: Contract<void>;
112+
export declare var isUndefined: typeof undef;
113+
export declare var passUndefined: typeof undef;
114+
export declare var isUndef: typeof undef;
115+
export declare var passUndef: typeof undef;
116+
export declare var isVoid: typeof undef;
117+
export declare var passVoid: typeof undef;

0 commit comments

Comments
 (0)