It’s a type checking keyword that can be used to export types from a module to another script.
local module = {}
export type coolModuleType = { cool: boolean? }
return module
local module = require(path.to.module)
local t: module.coolModuleType = { cool = true } -- ok
For backwards compatibility reasons (like the continue keyword), variables can be named “export” and can be assigned “export” (but by default it’s nil)
local export = true -- ok
local var = export -- ok