Skip to content

Commit a3a4c33

Browse files
committed
style: few jsdoc fixes
1 parent 7f86d54 commit a3a4c33

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/WebAssemblyGenerator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const initFuncId = t.identifier("__init__");
2828
/**
2929
* Removes the start instruction
3030
*
31-
* @param {ArrayBuffer} state - unused state
31+
* @param {Object} state - unused state
3232
* @returns {ArrayBuffer} bin'
3333
*/
3434
const removeStartFunc = state => bin => {
@@ -77,7 +77,7 @@ function getImportedGlobals(ast) {
7777
*
7878
* Note that globals will become mutable.
7979
*
80-
* @param {ArrayBuffer} bin - the input wasm binary
80+
* @param {Object} state - unused state
8181
* @returns {ArrayBuffer} bin'
8282
*/
8383
const rewriteImportedGlobals = state => bin => {
@@ -113,7 +113,7 @@ const rewriteImportedGlobals = state => bin => {
113113
*
114114
* The init function fills the globals given input arguments.
115115
*
116-
* @param {ArrayBuffer} bin - the input wasm binary
116+
* @param {Object} state - transformation state
117117
* @returns {ArrayBuffer} bin'
118118
*/
119119
const addInitFunction = ({

0 commit comments

Comments
 (0)