-
Per documentation: #[derive(MyTypescriptExport)]
struct Coords {
latitude: u32,
longitude: u32,
}
It seems it's describing a proc macro that does not exist. Is this just an error in the docs, or the said proc macro is being planned? It would be very handy if we have it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is an example on what you could do with
|
Beta Was this translation helpful? Give feedback.
This is an example on what you could do with
#[wasm_bindgen(typescript_custom_section)]
, in this example a custom derive-macro uses this functionality.#[wasm_bindgen(typescript_custom_section)]
exists,#[derive(MyTypescriptExport)]
doesn't.