Skip to content

Commit c907dc5

Browse files
Fix sync routes config type error (#8745)
1 parent 83ef166 commit c907dc5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/remix-dev/config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ export interface AppConfig {
6767
*/
6868
routes?: (
6969
defineRoutes: DefineRoutesFunction
70-
) => Promise<ReturnType<DefineRoutesFunction>>;
70+
) =>
71+
| ReturnType<DefineRoutesFunction>
72+
| Promise<ReturnType<DefineRoutesFunction>>;
7173

7274
/**
7375
* The path to the browser build, relative to `remix.config.js`. Defaults to

0 commit comments

Comments
 (0)