Lazy proxies don't type correctly (require casting) #15
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: profectus/Profectus#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every lazy proxy requires casting
as unknown as <TYPE>
at the end or else it won't be correctly typed. This is due in part to how processing computables works, and how we need to reference the object itself when processing computable properties. Further discussion on a discord thread.I'd consider this "solved" when a lazy proxy could be created with no casting, and the inferred property typing is correct.