Skip to content

Commit 121c151

Browse files
committed
Remove select type argument
1 parent d582647 commit 121c151

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ API
498498
* Module#**drop**(value: `ExpressionRef`): `ExpressionRef`<br />
499499
Creates a [drop](http://webassembly.org/docs/semantics/#type-parametric-operators) of a value.
500500

501-
* Module#**select**(condition: `ExpressionRef`, ifTrue: `ExpressionRef`, ifFalse: `ExpressionRef`, type?: `Type`): `ExpressionRef`<br />
501+
* Module#**select**(condition: `ExpressionRef`, ifTrue: `ExpressionRef`, ifFalse: `ExpressionRef`): `ExpressionRef`<br />
502502
Creates a [select](http://webassembly.org/docs/semantics/#type-parametric-operators) of one of two values.
503503

504504
#### [Variable accesses](http://webassembly.org/docs/semantics/#local-variables)

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,7 @@ declare module binaryen {
17791779
try(name: string, body: ExpressionRef, catchTags: string[], catchBodies: ExpressionRef[], delegateTarget?: string): ExpressionRef;
17801780
throw(tag: string, operands: ExpressionRef[]): ExpressionRef;
17811781
rethrow(target: string): ExpressionRef;
1782-
select(condition: ExpressionRef, ifTrue: ExpressionRef, ifFalse: ExpressionRef, type?: Type): ExpressionRef;
1782+
select(condition: ExpressionRef, ifTrue: ExpressionRef, ifFalse: ExpressionRef): ExpressionRef;
17831783
drop(value: ExpressionRef): ExpressionRef;
17841784
return(value?: ExpressionRef): ExpressionRef;
17851785
nop(): ExpressionRef;

0 commit comments

Comments
 (0)