Skip to main content

TSTLClassMetatable

This is a type representing the metatable of a user-created class from TypeScript code. (TypeScriptToLua transpiles TypeScript classes to a Lua table with a specific kind of metatable.)

Properties

____constructor

____constructor: () => void

Type declaration

▸ (): void

Returns

void

Defined in

packages/isaacscript-common/src/interfaces/TSTLClassMetatable.ts:6


__index

__index: unknown

Defined in

packages/isaacscript-common/src/interfaces/TSTLClassMetatable.ts:7


constructor

constructor: Object

Type declaration

NameType
namestring
prototypeLuaMetatable<LuaMap<AnyNotNil, unknown>, undefined | object | (this: LuaMap<AnyNotNil, unknown>, key: any) => any>

Defined in

packages/isaacscript-common/src/interfaces/TSTLClassMetatable.ts:8