Closed Maggi64 closed 1 year ago
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 }] }.
{ a: 1, b: 2, c: [{ d: 3 }, { e: 4 }] } as const
{ 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 👍
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 👍