Skip to content

Commit

Permalink
fix: V2_MetaFunction should return V2_HtmlMetaDescriptor[] (#4947)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcansh committed Dec 23, 2022
1 parent 5cef5f1 commit 8eea6c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/rotten-bulldogs-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"remix": patch
"@remix-run/serve": patch
"@remix-run/server-runtime": patch
---

`V2_MetaFunction` should return `V2_HtmlMetaDescriptor[]`
2 changes: 1 addition & 1 deletion packages/remix-server-runtime/routeModules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export interface V2_MetaFunction<
params: Params;
location: Location;
matches: RouteMatchWithMeta<ClientRoute>[];
}): HtmlMetaDescriptor;
}): V2_HtmlMetaDescriptor[];
}

/**
Expand Down

0 comments on commit 8eea6c6

Please sign in to comment.