KiaClouth
Explore posts from serversHow to reduce undefined judgments
// Thanks for your answer, but I think I described it wrong. Actually I want to solve the problem of ts, because I need to execute many statements like
engine().scene = {}
, but judging engine() !== undefined
can't ensure that engine() !== undefined afterwards. That's it, I want to write less error handling without using !. I hope I made it clear...19 replies
Incorrect response MIME type. Expected 'application/wasm'.
Just tried adding it to app.config.ts, but it didn't work. I looked for methods like
WebAssembly.instantiateStreaming
in the code of wa-sqlite. I don’t know much about it. It may take more time. I plan to change the method for the time being. Thank you for your suggestion.7 replies