You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also looked at #[wasm_bindgen(js_name = "…")], but that seems orthogonal (and also doesn't work for my structures, which have generic type arguments that wasm_bindgden doesn't support).
The text was updated successfully, but these errors were encountered:
I have two files that each define a struct with the same "basename", e.g.:
They end up as duplicate, top-level
Foo
declarations in the exported.d.ts
file:Is there a way to namespace, or otherwise rename them?
#[tsify(namespace)]
, but it can only be applied toenum
s.#[wasm_bindgen(js_name = "…")]
, but that seems orthogonal (and also doesn't work for my structures, which have generic type arguments that wasm_bindgden doesn't support).The text was updated successfully, but these errors were encountered: