UNPKG

incompatiblewith

Version:

InCompatibleWith is a decorator for class-validator that checks if siblings do not exist on the object.

2 lines (1 loc) 121 B
export declare function IncompatibleWith(incompatibleSiblings: string[]): <T = unknown>(target: T, key: string) => void;