• jpeps@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    10 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