Skip to content

z.boolean() type inference error #1709

@joebnb

Description

@joebnb

What version of Elysia is running?

1.4.22

What platform is your computer?

macOS arm64

What environment are you using

bun 1.3.7

Are you using dynamic mode?

false

What steps can reproduce the bug?

Image

if define a property with z.boolean, type inference are not work

Image

upper code is called in route response part

Image

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Have you try removing the node_modules and bun.lockb and try again yet?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions