@homoky/znv
v0.4.2
Published
Parse your environment with Zod schemas
Downloads
61
Readme
@homoky/znv
This is a modified version of znv that resolves issue #12.
Differences from version 0.4.0
- 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.
