Skip to content

📎 Bundle "real" global type definitions #5977

@arendjr

Description

@arendjr

Description

Currently, our GlobalsResolver relies on hardcoded, predefined types for globals such as Array and Promise. TypeScript however has much more extended definitions in their .d.ts files: https://github.com/microsoft/TypeScript/tree/main/src/lib

Ideally, we'd parse these .d.ts files at compile time or a separate codegen step and bundle them with Biome, to be used by a revised implementation of our GlobalsResolver.

Of course, this does mean we need improved handling of .d.ts files in general, but it shouldn't take much work on that front to be able to begin this task. Feel free to inquire if you're interested in this task!

Metadata

Metadata

Assignees

Labels

A-CoreArea: coreS-EnhancementStatus: Improve an existing featureS-Good first issueStatus: Good for newcomersS-Help-wantedStatus: you're familiar with the code base and want to help the project

Type

No fields configured for Task.

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions