This is a modified version of znv that resolves issue #12.
- Fixes the TypeScript error:
"The inferred type cannot be named without a reference to '../node_modules/znv/dist/util'."- This issue affected all parsed environment variables and was caused by missing explicit exports in
znv, preventing TypeScript from correctly resolving types. - The fix was adding explicit exports for
DeepReadonly,DeepReadonlyArray,DeepReadonlyObject, andassertNeverinindex.ts:export type { DeepReadonly, DeepReadonlyArray, DeepReadonlyObject, assertNever, } from "./util.js";
- This ensures proper type resolution and avoids import errors.
- This issue affected all parsed environment variables and was caused by missing explicit exports in
For more details, see the original issue: #12.