types icon indicating copy to clipboard operation
types copied to clipboard

Fixing Instance.fromExisting

Open Velover opened this issue 1 year ago • 2 comments

previous with keyof CreatableInstances doesn't return proper type

Velover avatar Aug 01 '24 10:08 Velover

Can you give an example?

OverHash avatar Aug 02 '24 03:08 OverHash

see https://discord.com/channels/476080952636997633/494540040991539200/1268537304369074216

we discovered that using CreatableInstances in generic is broken image

  • you will not be able to do it with BasePart or other baseclasses because they are not in the CreatableInstances list

with that image image

Velover avatar Aug 02 '24 07:08 Velover