dilswer
Version:
Blazingly fast data validation library with TypeScript integration.
11 lines (10 loc) • 432 B
TypeScript
import type { ExportType, TsBuilder } from "../ts-builder";
import { TsBaseBuilder } from "./base-builder";
export declare class TsIntersectionBuilder extends TsBaseBuilder implements TsBuilder {
private types;
private getIntersectedTypes;
/** Sets types that are part of the intersection. */
setTypes(type: Iterable<TsBuilder>): void;
build(indent: string): string;
buildExport(type: ExportType): string;
}