Skip to content

any() schema implicitly marks property as optional #136

@rollraw

Description

@rollraw

Package version

4.2.0

Describe the bug

const schema = vine.object({
	value: vine.any()
});

generated ts type of schema becomes

VineObject<{
    value: VineAny;
}, {
    value?: any;
}, ...>

Reproduction repo

No response

Metadata

Metadata

Assignees

Labels

Type: BugThe issue has indentified a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions