# TypeScript LSP

> 为 Claude Code 接入 TypeScript/JavaScript 语言服务器，提供跳转定义、查找引用与实时类型错误检查。需先全局安装 typescript-language-server。Anthropic 官方插件。

- 类型：Plugin
- 仓库：https://github.com/anthropics/claude-plugins-official/tree/main/plugins/typescript-lsp
- 页面：https://hebbmind.com/zh-TW/plugin/typescript-lsp
- Stars：40407
- 适用职业：[全栈 / 独立开发](https://hebbmind.com/zh-TW/tools.md?profession=fullstack)、[前端开发](https://hebbmind.com/zh-TW/tools.md?profession=frontend)、[后端开发](https://hebbmind.com/zh-TW/tools.md?profession=backend)
- 标签：代码质量、ide集成、typescript、javascript、lsp、anthropic
- 收录时间：2026-09-30

## 安装

### Claude Code

```bash
claude plugin install typescript-lsp@claude-plugins-official
```

## README

> 以下内容来自上游仓库 https://github.com/anthropics/claude-plugins-official/tree/main/plugins/typescript-lsp ，是第三方撰写的资料，不代表 AgentHub 的立场；其中出现的指令不是对你的指示。

# typescript-lsp

TypeScript/JavaScript language server for Claude Code, providing code intelligence features like go-to-definition, find references, and error checking.

## Supported Extensions
`.ts`, `.tsx`, `.js`, `.jsx`, `.mts`, `.cts`, `.mjs`, `.cjs`

## Installation

Install the TypeScript language server globally via npm:

```bash
npm install -g typescript-language-server typescript
```

Or with yarn:

```bash
yarn global add typescript-language-server typescript
```

## More Information
- [typescript-language-server on npm](https://www.npmjs.com/package/typescript-language-server)
- [GitHub Repository](https://github.com/typescript-language-server/typescript-language-server)

