UNPKG

typescript-to-lua

Version:

A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!

4 lines (3 loc) 236 B
import * as ts from "typescript"; import { TransformationContext } from "../context"; export declare function validateAssignment(context: TransformationContext, node: ts.Node, fromType: ts.Type, toType: ts.Type, toName?: string): void;