Skip to content

Commit db6f0ef

Browse files
authored
WasmFS: Fix 4 closure errors due to outdated type annotations (emscripten-core#19451)
1 parent 9663a7d commit db6f0ef

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/library_wasmfs_node.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ mergeInto(LibraryManager.library, {
5050
return wasmfsNodeFixStat(stat);
5151
},
5252

53+
// Ignore closure type errors due to outdated readdirSync annotations, see
54+
// https://github.com/google/closure-compiler/pull/4093
55+
_wasmfs_node_readdir__docs: '/** @suppress {checkTypes} */',
5356
_wasmfs_node_readdir__deps: ['$wasmfsNodeConvertNodeCode'],
5457
_wasmfs_node_readdir: function(path_p, vec) {
5558
let path = UTF8ToString(path_p);

0 commit comments

Comments
 (0)