typescript-to-lua
Version:
A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!
11 lines (10 loc) • 417 B
TypeScript
import * as ts from "typescript";
import { TransformationContext } from "../context";
export declare enum ContextType {
None = 0,
Void = 1,
NonVoid = 2,
Mixed = 3
}
export declare function getCallContextType(context: TransformationContext, callExpression: ts.CallLikeExpression): ContextType;
export declare function getFunctionContextType(context: TransformationContext, type: ts.Type): ContextType;