UNPKG

roblox-ts

Version:

A TypeScript-to-Luau Compiler for Roblox

5 lines (4 loc) 258 B
import luau from "@roblox-ts/luau-ast"; import { TransformState } from "../.."; import ts from "typescript"; export declare const objectAccessor: (state: TransformState, parentId: luau.AnyIdentifier, type: ts.Type, name: ts.PropertyName) => luau.Expression;