Skip to content

Conversation

@aprameyak
Copy link

This PR adds a custom TypeScript declaration file for the messageformat JavaScript library, which does not provide its own type definitions. By declaring the module "messageformat" with proper types, this change allows TypeScript projects to import and use the library without compilation errors. It defines the Msg type for compiled messages and the MessageFormat interface with a constructor and compile method, and provides a default export for convenient usage. This change ensures compatibility with TypeScript 2.8+ and can be placed under src/types/messageformat/index.d.ts for custom type resolution. Resolves #23185.

@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Jan 21, 2026
@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Jan 21, 2026
@jakebailey
Copy link
Member

This is not what #23185 was about, this was only an example

@jakebailey jakebailey closed this Jan 21, 2026
@github-project-automation github-project-automation bot moved this from Not started to Done in PR Backlog Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Cannot Load Custom Definition File in Repository

3 participants