mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-04 19:00:54 +01:00
This change introduces a flag (LuauUserTypeFunTypeofReturnsType) that, when enabled, sets __type on the type userdata's metatable to "type". This behaviour was described in the user-defined type function RFC (https://rfcs.luau.org/user-defined-type-functions.html), but seems to have been missed; this change implements that behaviour. |
||
---|---|---|
.. | ||
include/Luau | ||
src |