The type of Axes.new is incorrect

Axes.new is a function that creates an Axes object, the function takes an optional number of Enum.Axis or Enum.NormalId enums then creates a new Axes object, however, for whatever reason, the typechecker seems to think Axes.new takes no arguments

Expected behavior

The Axes.new function should take an optional number of parameters and not complain about it, so realistically the type here should be

new: (...: Enum.Axis|Enum.NormalId) -> Axes

Thanks for the report! We’ll follow up when we have an update for you.

1 Like