luau-lang / luau

A fast, small, safe, gradually typed embeddable scripting language derived from Lua
https://luau.org
MIT License
3.98k stars 373 forks source link

Allow removing globals in type definition files #1332

Open roblox-ui opened 2 months ago

roblox-ui commented 2 months ago

As far as I can tell, there is currently no way to remove/delete globals in type definition files. It would be nice if this could be added.

Use Case

When working in custom environments, you can omit and add globals freely. There is no way to 'echo' this behavior in a type definition file.