@lpgera/ts-env
Version:
An environment variable reader for TypeScript
29 lines (28 loc) • 1.47 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const string_js_1 = __importDefault(require("./src/string.js"));
const stringOrThrow_js_1 = __importDefault(require("./src/stringOrThrow.js"));
const boolean_js_1 = __importDefault(require("./src/boolean.js"));
const booleanOrThrow_js_1 = __importDefault(require("./src/booleanOrThrow.js"));
const number_js_1 = __importDefault(require("./src/number.js"));
const numberOrThrow_js_1 = __importDefault(require("./src/numberOrThrow.js"));
const stringArray_js_1 = __importDefault(require("./src/stringArray.js"));
const stringArrayOrThrow_js_1 = __importDefault(require("./src/stringArrayOrThrow.js"));
const numberArray_js_1 = __importDefault(require("./src/numberArray.js"));
const numberArrayOrThrow_js_1 = __importDefault(require("./src/numberArrayOrThrow.js"));
const tsEnv = {
string: string_js_1.default,
stringOrThrow: stringOrThrow_js_1.default,
boolean: boolean_js_1.default,
booleanOrThrow: booleanOrThrow_js_1.default,
number: number_js_1.default,
numberOrThrow: numberOrThrow_js_1.default,
stringArray: stringArray_js_1.default,
stringArrayOrThrow: stringArrayOrThrow_js_1.default,
numberArray: numberArray_js_1.default,
numberArrayOrThrow: numberArrayOrThrow_js_1.default,
};
exports.default = tsEnv;