Skip to content

Commit

Permalink
[fix] type definition update for typescript 4.8 (#6306)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg authored Aug 26, 2022
1 parent 8062a79 commit c440621
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/two-pianos-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

fix type definition issue that caused a svelte-check error when using TS 4.8
2 changes: 1 addition & 1 deletion packages/create-svelte/templates/default/src/lib/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { invalidate } from '$app/navigation';
* response: Response;
* form: HTMLFormElement;
* }) => void;
* }} [opts]
* }} opts
*/
export function enhance(
form: HTMLFormElement,
Expand Down

0 comments on commit c440621

Please sign in to comment.