Skip to content

Commit b152614

Browse files
committed
svelte: update tyings in test page
1 parent ffe77a9 commit b152614

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/svelte/test-app/Pages/FormHelper/Data.svelte

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
<script lang="ts">
22
import { page, useForm } from '@inertiajs/svelte'
33
4-
const form = useForm({
4+
const form = useForm<{
5+
name: string;
6+
handle: string;
7+
remember: boolean;
8+
accept_tos?: boolean;
9+
custom: Record<string, any>;
10+
}>({
511
name: 'foo',
612
handle: 'example',
713
remember: false,

0 commit comments

Comments
 (0)