UNPKG

263 BTypeScriptView Raw
1import { Type } from './abstract';
2export declare class UnionType extends Type {
3 types: Type[];
4 readonly type: string;
5 constructor(types: Type[]);
6 clone(): Type;
7 equals(type: UnionType): boolean;
8 toObject(): any;
9 toString(): string;
10}