UNPKG

airship-server

Version:

Airship is a framework for Node.JS & TypeScript that helps you to write big, scalable and maintainable API servers.

12 lines (11 loc) 330 B
import CodeLine from "./CodeLine"; export default class SourceCode { private _lines; constructor(lines?: CodeLine[]); add(data: string, tab?: number): SourceCode; append(code: SourceCode, tab?: number): void; render(): string; tab(n: number): void; readonly lines: CodeLine[]; private genTab(n); }