Thanks to visit codestin.com
Credit goes to github.com

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-Help-wantedStatus: you're familiar with the code base and want to help the projectgood first issueGood for newcomers

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions