Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+28
View File
@@ -0,0 +1,28 @@
import { StandardSchemaV1 } from '@standard-schema/spec';
/**
* Creates and returns the dot path of an issue if possible.
*
* @param issue The issue to get the dot path from.
*
* @returns The dot path or null.
*/
declare function getDotPath(issue: StandardSchemaV1.Issue): string | null;
/**
* A schema error with useful information.
*/
declare class SchemaError extends Error {
/**
* The schema issues.
*/
readonly issues: ReadonlyArray<StandardSchemaV1.Issue>;
/**
* Creates a schema error with useful information.
*
* @param issues The schema issues.
*/
constructor(issues: ReadonlyArray<StandardSchemaV1.Issue>);
}
export { SchemaError, getDotPath };