node_types
Read TypeScript declarations of a package installed in node_modules to get a symbol's signature with JSDoc and file:line, or list a package's version and exported names.
Instructions
Read TypeScript declarations of a package installed in node_modules (falls back to @types/*). With symbol: the declaration(s) of that function/class/interface/type with JSDoc and file:line. Without: the package version and its exported names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | ||
| package | Yes | ||
| project_dir | No |