18 lines
506 B
TypeScript
18 lines
506 B
TypeScript
|
|
/**
|
||
|
|
* Attribute utility
|
||
|
|
*/
|
||
|
|
export declare class AttributeUtility {
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
* @param name the attribute name
|
||
|
|
* @param contentType the attribute has to be valid in
|
||
|
|
* @param context the context in which the error occurred in
|
||
|
|
* @param context.method
|
||
|
|
* @param context.instance
|
||
|
|
*/
|
||
|
|
static validateAttributeName(name: unknown, contentType: string, context: {
|
||
|
|
method: string;
|
||
|
|
instance: string;
|
||
|
|
}): void;
|
||
|
|
}
|
||
|
|
//# sourceMappingURL=AttributeUtility.d.ts.map
|