Skip to content

TypeScript 5.7+ compilation errors in ox@0.11.3 and ox@0.12.0 #165

@oktapodia

Description

@oktapodia

Check existing issues

Ox Version

0.11.3

Current Behavior

The ox package versions 0.11.3 and 0.12.0 have TypeScript compilation errors when compiled with TypeScript 5.7+, 5.8, and 5.9. This prevents projects using viem (which depends on ox) from building successfully.

Environment:

  • ox: 0.11.3 (via viem@2.45.1)
  • TypeScript: 5.9.3
  • Node: 20.x

Expected Behavior

viem can be upgraded without any issues

Steps To Reproduce

I've created a minimal reproduction case with automated CI: https://github.com/oktapodia/ox-typescript-bug-reproduction/actions/runs/21718442901

Repository: https://github.com/oktapodia/ox-typescript-bug-reproduction

Link to Minimal Reproducible Example

https://github.com/oktapodia/ox-typescript-bug-reproduction

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions