.env declare type

declare global {
  namespace NodeJS {
    interface ProcessEnv {
      API_URL: string;
      API_THAI_ADDRESS: string;
    }
  }
}

// If this file has no import/export statements (i.e. is a script)
// convert it into a module by adding an empty export statement.
export {};

Last updated