Skip to content

Commit 06ee43e

Browse files
committed
Fix isFunction/isNullable typings
1 parent f318d68 commit 06ee43e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/assembly/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ declare function isString<T>(value?: any): value is string | String;
129129
/** Tests if the specified type *or* expression can be used as an array. Compiles to a constant. */
130130
declare function isArray<T>(value?: any): value is Array<any>;
131131
/** Tests if the specified type *or* expression is of a function type. Compiles to a constant. */
132-
declare function isFunction<T>(value?: any): value is Array<any>;
132+
declare function isFunction<T>(value?: any): value is (...args: any) => any;
133133
/** Tests if the specified type *or* expression is of a nullable reference type. Compiles to a constant. */
134-
declare function isNullable<T>(value?: any): value is Array<any>;
134+
declare function isNullable<T>(value?: any): bool;
135135
/** Tests if the specified expression resolves to a defined element. Compiles to a constant. */
136136
declare function isDefined(expression: any): bool;
137137
/** Tests if the specified expression evaluates to a constant value. Compiles to a constant. */

0 commit comments

Comments
 (0)