@nitra/check-env
Version:
Check that the critical environment variables are set
18 lines (17 loc) • 338 B
TypeScript
/**
* MissingEnvironmentVariableError
*
* @class
* @extends Error
*/
export class MissingEnvironmentVariableError extends Error {
constructor(envs: any);
}
export function checkEnv(required: Array<string>): void;
export default checkEnv;
/**
* @type {Object.<string, string>}
*/
export const env: {
[x: string]: string;
};