tsgen2
Version:
Generates Typescript code programatically
15 lines (14 loc) • 435 B
TypeScript
import { Treeable } from "./TsGenUtil";
export interface TsGenParamOptions {
optional?: boolean;
visibility?: "" | "public" | "private";
initial?: string;
}
export declare class TsGenParam implements Treeable {
name: string;
type: string;
opts: TsGenParamOptions;
constructor(name: string, type?: string, opts?: TsGenParamOptions);
toString(indent?: number): string;
toArrayTree(): Array<string>;
}