I was able to fix an issue I had, which is described here, where the rhino module wasn't finding my wasm file. I was told by ChatGPT to add a locateFile key to the config object I pass to the module, like so:
rhinoModule = await rhino3dm({ locateFile: (file: string) => `/_next/static/${file}` });
This worked. When I debug the javascript in the browser, the introspection tools tell me that the module does indeed take a config object.
But the types say otherwise. I get type errors in my editor ("Expected 0 arguments, but got 1.")
This is with rhino 8.17.0
Related to #433, #470