UNPKG

289 BTypeScriptView Raw
1export declare class InvalidPolymorphismError<Props extends object = {}> extends Error {
2 code: string;
3 constructor(typeName: string, discriminator?: string, extraProperties?: Props);
4}
5export declare function isInvalidPolymorphismError(e: any): e is InvalidPolymorphismError<any>;