Skip to content

Commit

Permalink
make types more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
floodfx committed Mar 7, 2022
1 parent 04be890 commit aa47593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/component/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface LiveViewChangeset<T> {
}

export interface PushPatchPathAndParams {
to: { path: string, params: StringPropertyValues<any> }
to: { path: string, params: StringPropertyValues<Record<string, string>> }
}

export interface LiveViewSocket<T> {
Expand Down

0 comments on commit aa47593

Please sign in to comment.