mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-23 06:10:02 +08:00
17 lines
538 B
TypeScript
17 lines
538 B
TypeScript
export interface Issue {
|
|
code: string;
|
|
path: (string | number)[];
|
|
message: string;
|
|
}
|
|
export declare function parts(s: string): string[];
|
|
export declare function pair(): [number, string];
|
|
export declare function issueOf(msg: string): Issue;
|
|
export declare function nums(): number[];
|
|
export declare function headers(): Record<string, string>;
|
|
export declare class Boom {
|
|
msg: string;
|
|
constructor(msg: string);
|
|
}
|
|
export declare function make(kind: string): any;
|
|
export declare function grep(re: RegExp, items: string[]): string[];
|