13 lines
380 B
TypeScript
13 lines
380 B
TypeScript
import type { clientEnv } from './src/config/env.client.mjs'
|
|
import type { serverEnv } from './src/config/env.server.mjs'
|
|
|
|
type Env = typeof clientEnv & typeof serverEnv
|
|
|
|
declare global {
|
|
namespace NodeJS {
|
|
/* eslint-disable @typescript-eslint/no-empty-interface */
|
|
interface ProcessEnv extends Env {}
|
|
/* eslint-enable @typescript-eslint/no-empty-interface */
|
|
}
|
|
}
|