Skip to content

Commit 95b3e30

Browse files
committed
Update typings with recent changes
1 parent cc23adf commit 95b3e30

File tree

2 files changed

+242
-91
lines changed

2 files changed

+242
-91
lines changed

Diff for: README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ API
152152
* **i31ref**: `Type`<br />
153153
i31 reference. 🦄
154154

155-
* **dataref**: `Type`<br />
156-
Data reference. 🦄
155+
* **structref**: `Type`<br />
156+
Structure reference. 🦄
157157

158158
* **stringref**: `Type`<br />
159159
String reference. 🦄
@@ -1027,9 +1027,10 @@ Note that these are pseudo instructions enabling Binaryen to reason about multip
10271027

10281028
#### [Bulk memory operations](https://github.com/WebAssembly/bulk-memory-operations/blob/master/proposals/bulk-memory-operations/Overview.md) 🦄
10291029

1030-
* Module#memory.**init**(segment: `number`, dest: `ExpressionRef`, offset: `ExpressionRef`, size: `ExpressionRef`): `ExpressionRef`
1030+
* Module#memory.**init**(segment: `string`, dest: `ExpressionRef`, offset: `ExpressionRef`, size: `ExpressionRef`): `ExpressionRef`
10311031
* Module#memory.**copy**(dest: `ExpressionRef`, source: `ExpressionRef`, size: `ExpressionRef`): `ExpressionRef`
10321032
* Module#memory.**fill**(dest: `ExpressionRef`, value: `ExpressionRef`, size: `ExpressionRef`): `ExpressionRef`
1033+
* Module#data.**drop**(segment: `string`): `ExpressionRef`
10331034

10341035
### Expression manipulation
10351036

@@ -1268,7 +1269,7 @@ Note that these are pseudo instructions enabling Binaryen to reason about multip
12681269
* TupleExtract#**tuple**: `ExpressionRef`
12691270
* TupleExtract#**index**: `number`
12701271
>
1271-
* I31NewInfo#**value**: `ExpressionRef`
1272+
* RefI31Info#**value**: `ExpressionRef`
12721273
>
12731274
* I31GetInfo#**i31**: `ExpressionRef`
12741275
* I31GetInfo#**isSigned**: `boolean`

0 commit comments

Comments
 (0)