UNPKG

@stoplight/spectral

Version:

A flexible object linter with out of the box support for OpenAPI v2 and v3.

8 lines (7 loc) 250 B
export interface IMessageVars { property: string | number; error: string; description?: string; } export declare type MessageInterpolator = (str: string, values: IMessageVars) => string; export declare const message: MessageInterpolator;