UNPKG

445 BTypeScriptView Raw
1/**
2 * The result of user doing warn, message or fail, built this way for
3 * expansion later.
4 */
5export interface Violation {
6 /** The string representation */
7 message: string;
8 /** Optional path to the file */
9 file?: string;
10 /** Optional line in the file */
11 line?: number;
12 /** Optional icon for table (Only valid for messages) */
13 icon?: string;
14}
15export declare const isInline: (violation: Violation) => boolean;