[Bug] AllPaths incorrect on const objects
Maggi64 opened this issue · comments
The paths for the object { a: 1, b: 2, c: [{ d: 3 }, { e: 4 }] } as const
are incorrect.
But it works correctly for { a: 1, b: 2, c: [{ d: 3 }, { e: 4 }] }
.
Reproduction:
https://stackblitz.com/edit/typescript-wrimqa?file=index.ts
Thanks for looking into this 👍
Thanks for opening this issue, this is fixed on the main branch
Publish as v1.0.11
Thank you very much for the quick fix 👍