Skip to content

Commit 6e36f77

Browse files
authored
Revert HeapType -> Type for br_on_*
1 parent 9b8edac commit 6e36f77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,8 +1119,8 @@ declare module binaryen {
11191119
br_if(label: string, condition?: ExpressionRef, value?: ExpressionRef): ExpressionRef;
11201120
br_on_null(label: string, value: ExpressionRef): ExpressionRef;
11211121
br_on_non_null(label: string, value: ExpressionRef): ExpressionRef;
1122-
br_on_cast(label: string, value: ExpressionRef, castType: HeapType): ExpressionRef;
1123-
br_on_cast_fail(label: string, value: ExpressionRef, castType: HeapType): ExpressionRef;
1122+
br_on_cast(label: string, value: ExpressionRef, castType: Type): ExpressionRef;
1123+
br_on_cast_fail(label: string, value: ExpressionRef, castType: Type): ExpressionRef;
11241124
switch(labels: string[], defaultLabel: string, condition: ExpressionRef, value?: ExpressionRef): ExpressionRef;
11251125
call(name: string, operands: ExpressionRef[], returnType: Type): ExpressionRef;
11261126
return_call(name: string, operands: ExpressionRef[], returnType: Type): ExpressionRef;

0 commit comments

Comments
 (0)