Skip to content

Expanded all 315 instances type into a separate module#74

Closed
AeroUtilities wants to merge 2 commits into
centau:mainfrom
AeroUtilities:main
Closed

Expanded all 315 instances type into a separate module#74
AeroUtilities wants to merge 2 commits into
centau:mainfrom
AeroUtilities:main

Conversation

@AeroUtilities

@AeroUtilities AeroUtilities commented May 9, 2026

Copy link
Copy Markdown

The Instances type in create.luau only had 19 instance types written.

I decided to create a types folder and the types/instances.luau module covering all the built in instances in Roblox Studio that were sourced from the Roblox API dump. That way the autocompletion for any of the missing instances works in IDE's.

All of the instances may not be used with vide but you can definitely make cool projects even with creating plugins with the instances!

Changes:

  • Added src/types/instances.luau
  • Required src/types/instances.luau into src/create.luau
  • Refactored the type Instances to use the instances.luau module

Hope this is helpful!

Created all of the current component types that are built in Roblox Studio.
Removed the instance type in create and separated the instance module into the types folder.
@notrealaz

Copy link
Copy Markdown

a lot of these are unnecessary. this is a UI library

@ewd3v

ewd3v commented May 30, 2026

Copy link
Copy Markdown
Contributor

No idea how luau actually decides this, but on my end it just gave up typechecking because "type too complex" when I had too many entries in the Instances type.

@AeroUtilities

Copy link
Copy Markdown
Author

I realised how pointless this was so that's why I closed it.

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.

3 participants