fix website build

This commit is contained in:
2025-12-25 12:54:08 +01:00
parent ac083363bc
commit 722a185dd9
26 changed files with 1712 additions and 1419 deletions

18
apps/website/env.d.ts vendored
View File

@@ -44,15 +44,13 @@ declare module 'react/compiler-runtime' {
export {};
}
// Shim missing React namespace member used by Next devtools types
declare namespace React {
// Minimal placeholder type; generic to match Next's usage
type ActionDispatch<T = unknown> = (action: T) => void;
declare global {
namespace NodeJS {
interface ProcessEnv {
NEXT_PUBLIC_GRIDPILOT_MODE?: 'pre-launch' | 'alpha';
NEXT_PUBLIC_X_URL?: string;
}
}
}
declare namespace NodeJS {
interface ProcessEnv {
NEXT_PUBLIC_GRIDPILOT_MODE?: 'pre-launch' | 'alpha';
NEXT_PUBLIC_X_URL?: string;
}
}
export {};