mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Update mod.rs (#1852)
Using Typescript I have this warning: `./pkg/index.js Line 52:22: Expected '!==' and instead saw '!=' eqeqeq Search for the keywords to learn more about each warning. To ignore, add // eslint-disable-next-line to the line before. ` I guess this should solve the warning. Thank you for all the work.
This commit is contained in:
parent
79cf4f6198
commit
2a12ca2a4f
@ -950,7 +950,7 @@ impl<'a> Context<'a> {
|
||||
debug,
|
||||
encode_as_ascii,
|
||||
if self.config.debug {
|
||||
"if (ret.read != arg.length) throw new Error('failed to pass whole string');"
|
||||
"if (ret.read !== arg.length) throw new Error('failed to pass whole string');"
|
||||
} else {
|
||||
""
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user