mirror of https://github.com/webpack/webpack.git
style: few jsdoc fixes
This commit is contained in:
parent
7f86d5480e
commit
a3a4c33c47
|
@ -28,7 +28,7 @@ const initFuncId = t.identifier("__init__");
|
||||||
/**
|
/**
|
||||||
* Removes the start instruction
|
* Removes the start instruction
|
||||||
*
|
*
|
||||||
* @param {ArrayBuffer} state - unused state
|
* @param {Object} state - unused state
|
||||||
* @returns {ArrayBuffer} bin'
|
* @returns {ArrayBuffer} bin'
|
||||||
*/
|
*/
|
||||||
const removeStartFunc = state => bin => {
|
const removeStartFunc = state => bin => {
|
||||||
|
@ -77,7 +77,7 @@ function getImportedGlobals(ast) {
|
||||||
*
|
*
|
||||||
* Note that globals will become mutable.
|
* Note that globals will become mutable.
|
||||||
*
|
*
|
||||||
* @param {ArrayBuffer} bin - the input wasm binary
|
* @param {Object} state - unused state
|
||||||
* @returns {ArrayBuffer} bin'
|
* @returns {ArrayBuffer} bin'
|
||||||
*/
|
*/
|
||||||
const rewriteImportedGlobals = state => bin => {
|
const rewriteImportedGlobals = state => bin => {
|
||||||
|
@ -113,7 +113,7 @@ const rewriteImportedGlobals = state => bin => {
|
||||||
*
|
*
|
||||||
* The init function fills the globals given input arguments.
|
* The init function fills the globals given input arguments.
|
||||||
*
|
*
|
||||||
* @param {ArrayBuffer} bin - the input wasm binary
|
* @param {Object} state - transformation state
|
||||||
* @returns {ArrayBuffer} bin'
|
* @returns {ArrayBuffer} bin'
|
||||||
*/
|
*/
|
||||||
const addInitFunction = ({
|
const addInitFunction = ({
|
||||||
|
|
Loading…
Reference in New Issue