If I am requiring a module, what type is returned?
local module: ModuleScript = require(path.to.module) seems incorrect because ModuleScript is an instance which would be path.to.module and not what require actually returns AFAIK
The documentation explains it as the variable being directly set to the table that was returned, in that case would I just cast it to the format of the table?
They’re asking about the typing of module scripts, not what require does.
To OP, I believe that at least for functions, it automatically handles the types for them, but I can’t get it to work with other table entries like strings.