TypeScript LSP
name: typescript-lsp
by bowen31337 · published 2026-03-22
$ claw add gh:bowen31337/bowen31337-typescript-lsp---
name: typescript-lsp
description: TypeScript language server providing type checking, code intelligence, and LSP diagnostics for .ts, .tsx, .js, .jsx, .mts, .cts, .mjs, .cjs files. Use when working with TypeScript or JavaScript code that needs type checking, autocomplete, error detection, refactoring support, or code navigation.
---
# TypeScript LSP
TypeScript/JavaScript language server integration providing comprehensive code intelligence through typescript-language-server.
Capabilities
Installation
Install TypeScript language server and TypeScript compiler:
npm install -g typescript-language-server typescriptOr with yarn:
yarn global add typescript-language-server typescriptVerify installation:
typescript-language-server --version
tsc --versionUsage
The language server runs automatically in LSP-compatible editors. For manual type checking:
tsc --noEmit # Type check without generating output filesCompile TypeScript files:
tsc src/index.tsWatch mode for continuous type checking:
tsc --watch --noEmitConfiguration
Create `tsconfig.json` in project root:
{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"moduleResolution": "node"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}Integration Pattern
When editing TypeScript/JavaScript code:
1. Run `tsc --noEmit` after significant changes
2. Address type errors before committing
3. Use `tsc --watch` during active development
4. Leverage quick fixes for common issues
Common Flags
More Information
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...