We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86d335b commit e392cfcCopy full SHA for e392cfc
packages/react-router-dev/typescript/typegen.ts
@@ -28,7 +28,7 @@ function getDirectory(ctx: Context) {
28
export function getPath(ctx: Context, route: RouteManifestEntry): string {
29
return Path.join(
30
getDirectory(ctx),
31
- "app",
+ Path.basename(ctx.appDirectory),
32
Path.dirname(route.file),
33
"+types." + Pathe.filename(route.file) + ".d.ts"
34
);
0 commit comments