Skip to content

Commit 140cdf6

Browse files
committed
Revert virtual routes typegen
1 parent 6009e69 commit 140cdf6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/react-router-dev/typegen/generate.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ export function generateServerBuild(ctx: Context): VirtualFile {
5050
export const ssr: ServerBuild["ssr"];
5151
export const unstable_getCriticalCss: ServerBuild["unstable_getCriticalCss"];
5252
}
53-
54-
declare module "virtual:react-router/unstable_rsc/routes" {
55-
import { unstable_RSCRouteConfig } from "react-router";
56-
const routes: unstable_RSCRouteConfig;
57-
export default routes;
58-
}
5953
`;
6054
return { filename, content };
6155
}

0 commit comments

Comments
 (0)