I wanted to make a PR for this, but it's probably better to ask first to avoid potential time waste.
Can number and integer classes be made partial? This is really useful for defining methods on numbers.
For example, having a metatable on them with __index containing math functions, one can write
---@class (partial) number
---@field sin fun(self: number): number
--- ...
--evaluates to number
local x = x:sin():abs():round()
instead of
local x = math.round(math.abs(math.sin(x)))