Skip to content

Commit b752d2a

Browse files
refactor(IsDefined): back to 4.0.1
1 parent 0502369 commit b752d2a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
import { Defined } from '../../type/defined.type';
21
import { ResultCallback } from '../../type/result-callback.type';
3-
export type IsDefined = <Type>(value: unknown, callback?: ResultCallback) => value is Defined<Type>;
2+
export type IsDefined = (value: unknown, callback?: ResultCallback) => boolean;

0 commit comments

Comments
 (0)