UNPKG

231 BTypeScriptView Raw
1/**
2 * Validate a property as being on an object, and optionally
3 * of a given type and among a given set of values.
4 */
5export declare function validateProperty(object: any, name: string, typeName?: string, values?: any[]): void;