mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
refactor: build system
This commit is contained in:
10
packages/core-tools/src/better-ajv-errors.d.ts
vendored
10
packages/core-tools/src/better-ajv-errors.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user