Skip to content

Commit e6ba7c7

Browse files
committed
Type fix for changeEvent implementation.
1 parent 415791c commit e6ba7c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/client/superForm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ export function superForm<
689689
fieldProxy({ form: Form } as SuperForm<T>, path, options).set(value);
690690
},
691691
get(path) {
692-
return get(fieldProxy(Form, path));
692+
return get(fieldProxy<T, typeof path>(Form, path));
693693
}
694694
};
695695
} else {
@@ -701,7 +701,7 @@ export function superForm<
701701
fieldProxy({ form: Form } as SuperForm<T>, path, options).set(value);
702702
},
703703
get(path) {
704-
return get(fieldProxy(Form, path));
704+
return get(fieldProxy<T, typeof path>(Form, path));
705705
}
706706
};
707707
}

0 commit comments

Comments
 (0)