Skip to content

Some global types like File, Blob is conflicting and becomes never when used with @cloudflare/workers-types in tsconfig.compilerOptions.typesΒ #1548

Closed

Description

@NamesMT

Report a bug

πŸ”Ž Search Terms

Blob, node:

🧩 Context

  • ArkType version: 2.1.26
  • TypeScript version (5.1+): 5.9.3

πŸ§‘β€πŸ’» Repro

Image
const Thing = type({
  file: `File`,
  blob: `Blob`,
  string: `string`,
})

https://github.com/NamesMT/starter-ts/tree/arktype-repro-1548

Activity

  1. added
    bug
    on Nov 16, 2025
  2. added 2 commits that reference this issue on Oct 13, 2026
    09fb6f7
    43221b3
  3. ssalbdivad commented on Nov 18, 2026

    @ssalbdivad
    Member

    Fixed in 3.0.0-beta.0 (#1728). Try it with npm i arktype@next.

  4. moved this from To do to Done (merged or closed) in arktypeioon Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

  • Status
    Done (merged or closed)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions