We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f592ec4 commit e9af37fCopy full SHA for e9af37f
packages/kit/types/index.d.ts
@@ -51,8 +51,10 @@ type OptionalUnion<
51
A extends keyof U = U extends U ? keyof U : never
52
> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never;
53
54
+declare const sym: unique symbol;
55
// Needs to be here, else ActionData will be resolved to unknown - probably because of "d.ts file imports .js file" in combination with allowJs
56
export interface ValidationError<T extends Record<string, unknown> | undefined = undefined> {
57
+ readonly [sym]: unknown;
58
status: number;
59
data: T;
60
}
0 commit comments