refactor: build system

This commit is contained in:
2023-03-22 11:45:30 +01:00
parent 4df19e8c20
commit 8cb9285462
427 changed files with 3978 additions and 9810 deletions

View File

@@ -1,10 +1,10 @@
declare module 'better-ajv-errors' {
import type { ErrorObject } from 'ajv';
import type {ErrorObject} from 'ajv';
export interface IOutputError {
start: { line: number; column: number; offset: number };
start: {line: number; column: number; offset: number};
// Optional for required
end?: { line: number; column: number; offset: number };
end?: {line: number; column: number; offset: number};
error: string;
suggestion?: string;
}
@@ -21,6 +21,6 @@ declare module 'better-ajv-errors' {
schema: S,
data: T,
errors: Array<ErrorObject>,
options?: Options
): Options extends { format: 'js' } ? Array<IOutputError> : string;
options?: Options,
): Options extends {format: 'js'} ? Array<IOutputError> : string;
}