danger
Version:
Unit tests for Team Culture
16 lines (15 loc) • 445 B
TypeScript
/**
* The result of user doing warn, message or fail, built this way for
* expansion later.
*/
export interface Violation {
/** The string representation */
message: string;
/** Optional path to the file */
file?: string;
/** Optional line in the file */
line?: number;
/** Optional icon for table (Only valid for messages) */
icon?: string;
}
export declare const isInline: (violation: Violation) => boolean;