Skip to content

Commit 847356a

Browse files
refactor(guardDefined): remove Type from isDefined
1 parent b752d2a commit 847356a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/type/src/guard/lib/guard-defined.func.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ import { ResultCallback } from '../../type/result-callback.type';
1111
* @returns A `boolean` indicating whether or not the `value` is defined, if `undefined` then returns `never`.
1212
*/
1313
export const guardDefined: GuardDefined = <Type>(value: Type, callback?: ResultCallback): value is Defined<Type> =>
14-
isDefined<Type>(value, callback);
14+
isDefined(value, callback);

0 commit comments

Comments
 (0)