Skip to content

Preserve instance types in InstanceHandle - #1424

Open
TheBoogle wants to merge 1 commit into
roblox-ts:masterfrom
TheBoogle:instancehandles
Open

TheBoogle wants to merge 1 commit into
roblox-ts:masterfrom
TheBoogle:instancehandles

Conversation

@TheBoogle

Copy link
Copy Markdown
Contributor

Make InstanceHandle generic and infer its type from the constructor argument so Get and Wait return the specific instance type. Default to Instance for existing type annotations.

Make InstanceHandle generic and infer its type from the constructor argument so Get and Wait return the specific instance type. Default to Instance for existing type annotations.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant