Skip to content

export TypingsInstaller types from tsserverlibrary #53414

@zkat

Description

@zkat

Suggestion

🔍 Search Terms

List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily and help provide feedback.

✅ Viability Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

I'd like to export the interfaces and such that would be needed to implement TypingsInstaller when only using tsserverlibrary. Currently, the necessary types are only available for full tsserver.

📃 Motivating Example

I want to be able to implement TypingsInstaller on the web.

💻 Use Cases

TypingsInstaller on the web.

Metadata

Metadata

Assignees

Labels

Domain: APIRelates to the public API for TypeScriptDomain: LS: TSServerIssues related to the TSServer

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions