Skip to content

Commit 78a592f

Browse files
authored
Use bool instead of boolean return type in isVoid builtin (AssemblyScript#1745)
1 parent 784521d commit 78a592f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NOTICE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ under the licensing terms detailed in LICENSE:
3535
* Chance Snow <git@chancesnow.me>
3636
* Peter Salomonsen <petersalomonsen@runbox.com>
3737
* ookangzheng <git-ed@runbox.no>
38+
* yjhmelody <yjh465402634@gmail.com>
3839

3940
Portions of this software are derived from third-party works licensed under
4041
the following terms:

std/assembly/builtins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export declare function isManaged<T>(value?: T): bool;
5454

5555
// @ts-ignore: decorator
5656
@builtin
57-
export declare function isVoid<T>(): boolean;
57+
export declare function isVoid<T>(): bool;
5858

5959
// @ts-ignore
6060
@builtin

0 commit comments

Comments
 (0)