wing icon indicating copy to clipboard operation
wing copied to clipboard

`mutJson` can't be mutated

Open tsuf239 opened this issue 1 year ago • 0 comments

I tried this:

let a: MutJson = {a: 1, b: 0};
let b = MutJson {a: 1, b: 0};

a.delete("a");
b.delete("a");

This happened:

image

I expected this:

to work

Is there a workaround?

No response

Anything else?

No response

Wing Version

0.82.1

Node.js Version

No response

Platform(s)

No response

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.

tsuf239 avatar Aug 07 '24 10:08 tsuf239