import type { BaseNode } from "./base-node.js"; import type { UndefinedNode } from "./undefined-node.js"; import type { UnionNode } from "./union-node.js"; export type Optional = UnionNode; /** * Unwraps an optional wrapper (a union with undefined), returning the non-undefined member. * Non-union nodes pass through unchanged. */ export type UnwrapOptional = TNode extends UnionNode ? Exclude : TNode; //# sourceMappingURL=optional.d.ts.map