fix website build
This commit is contained in:
18
apps/website/env.d.ts
vendored
18
apps/website/env.d.ts
vendored
@@ -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 {};
|
||||
Reference in New Issue
Block a user