• jpeps@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    Typically when creating API interfaces you’d be better off marking the inputs as unknown, and then using something like Zod to validate the types