UNPKG

@plugjs/plug

Version:
14 lines (13 loc) 531 B
import type { AbsolutePath } from '../paths'; export type GithubAnnotationType = 'warning' | 'error'; export interface GithubAnnotationOptions { type: GithubAnnotationType; title?: string; file?: AbsolutePath; line?: number; endLine?: number; col?: number; endColumn?: number; } export declare function githubAnnotation(type: GithubAnnotationType, message: string, ...args: any[]): void; export declare function githubAnnotation(options: GithubAnnotationOptions, message: string, ...args: any[]): void;