Skip to content

Commit 877b312

Browse files
authored
[chore] link to investigation results of why check fails (#7880)
So we don't forget and can open a bug report eventually
1 parent 9c87888 commit 877b312

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/kit/types/ambient.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ declare module '$app/forms' {
9292
type MaybePromise<T> = T | Promise<T>;
9393

9494
// this is duplicated in @sveltejs/kit because create-svelte tests fail
95-
// if we use the imported version. TODO investigate
95+
// if we use the imported version. See https://github.com/sveltejs/kit/pull/7003#issuecomment-1330921789
96+
// for why this happens (it's likely a bug in TypeScript, but one that is so rare that it's unlikely to be fixed)
9697
type SubmitFunction<
9798
Success extends Record<string, unknown> | undefined = Record<string, any>,
9899
Invalid extends Record<string, unknown> | undefined = Record<string, any>

0 commit comments

Comments
 (0)