roblox-ts
Version:
<div align="center"><img width=25% src="https://i.imgur.com/yCjHmng.png"></div> <h1 align="center"><a href="https://roblox-ts.github.io/">roblox-ts</a></h1> <div align="center">A TypeScript-to-Lua Compiler for Roblox</div> <br> <div align="center"> <a hr
6 lines (5 loc) • 431 B
TypeScript
import * as ts from "ts-morph";
import { CompilerState } from "../CompilerState";
export declare function compileBooleanLiteral(state: CompilerState, node: ts.BooleanLiteral): "true" | "false";
export declare function compileNumericLiteral(state: CompilerState, node: ts.NumericLiteral): string;
export declare function compileStringLiteral(state: CompilerState, node: ts.StringLiteral | ts.NoSubstitutionTemplateLiteral): string;