Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/www/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />
import "./.next/types/routes.d.ts";
import "./.next/dev/types/routes.d.ts";
Comment on lines 1 to +4

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore typed-route import to generated path

The change in next-env.d.ts now imports ./.next/dev/types/routes.d.ts, but Next generates typed route definitions under ./.next/types/routes.d.ts for both next dev and next build. The new path does not exist in a normal build so tsc and yarn typecheck will fail with “Cannot find module './.next/dev/types/routes.d.ts'”. This file is auto‑generated and should keep the default path to avoid build breakage.

Useful? React with 👍 / 👎.


// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
3 changes: 2 additions & 1 deletion apps/www/src/app/dev/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ export default async function DevPage() {
return (
<main>
{/* <EditorViewClient /> */}
<MarkdownStreamDemo />
{/* <MarkdownStreamDemo /> */}
Comment on lines 4 to +7

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove unused MarkdownStreamDemo import

page.tsx still imports MarkdownStreamDemo even though its usage is commented out. With the repo’s eslint configuration, this unused import will trigger a no-unused-vars error and cause yarn lint to fail. Either drop the import or render the component.

Useful? React with 👍 / 👎.

<iframe height="500px" width="40%" src="https://evergarden.ai/iframe/nh7b9bwz6r72ntgr5e95ye5brs7tjacp" ></iframe>
</main>
);
}