Skip to content

Commit

Permalink
minimize diff
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundhung committed Jul 22, 2023
1 parent b18b8e3 commit 1ee81e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/conform-dom/formdata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function getFormData(
* const paths = getPaths('todos[0].content'); // ['todos', 0, 'content']
* ```
*/
export function getPaths(name: string): (string | number)[] {
export function getPaths(name: string): Array<string | number> {
if (!name) {
return [];
}
Expand Down

0 comments on commit 1ee81e6

Please sign in to comment.