mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-13 13:01:22 +00:00
No need to expose ptr
in TypeScript
This was needed long ago but is no longer needed! Closes #147
This commit is contained in:
@ -339,9 +339,6 @@ impl<'a> Context<'a> {
|
||||
for (class, exports) in classes {
|
||||
let mut dst = format!("class {} {{\n", class);
|
||||
let mut ts_dst = format!("export {}", dst);
|
||||
ts_dst.push_str("
|
||||
public ptr: number;
|
||||
");
|
||||
|
||||
if self.config.debug || exports.constructor.is_some() {
|
||||
self.expose_constructor_token();
|
||||
|
Reference in New Issue
Block a user