dilswer
Version:
Blazingly fast data validation library with TypeScript integration.
28 lines (27 loc) • 910 B
TypeScript
import type { TsFileScope } from "../file-scope";
import type { ExportType, TsBuilder } from "../ts-builder";
export declare class TsTypeReference implements TsBuilder {
private fileScope;
private type;
name: string;
static resolveReference(reference: TsBuilder): TsBuilder;
isTitled: boolean;
isAddedToScope: boolean;
constructor(fileScope: TsFileScope, type: TsBuilder, name: string);
getDescription(indent: string): string;
setName(name: string): void;
getName(): string | undefined;
build(): string;
buildExport(type: ExportType): string | undefined;
}
export declare class TsNamedReference {
private name;
isTitled: boolean;
isAddedToScope: boolean;
constructor(name: string);
getDescription(): string;
setName(): void;
getName(): string | undefined;
build(): string;
buildExport(type: ExportType): string | undefined;
}