typeref-mcp
Version:
TypeScript type inference and symbol navigation MCP server for Claude Code
42 lines • 1.57 kB
JavaScript
export var SymbolKind;
(function (SymbolKind) {
SymbolKind["Variable"] = "variable";
SymbolKind["Function"] = "function";
SymbolKind["Class"] = "class";
SymbolKind["Interface"] = "interface";
SymbolKind["Type"] = "type";
SymbolKind["Enum"] = "enum";
SymbolKind["Module"] = "module";
SymbolKind["Namespace"] = "namespace";
SymbolKind["Property"] = "property";
SymbolKind["Method"] = "method";
SymbolKind["Constructor"] = "constructor";
SymbolKind["Parameter"] = "parameter";
})(SymbolKind || (SymbolKind = {}));
export var TypeKind;
(function (TypeKind) {
TypeKind["Primitive"] = "primitive";
TypeKind["Object"] = "object";
TypeKind["Interface"] = "interface";
TypeKind["Array"] = "array";
TypeKind["Function"] = "function";
TypeKind["Union"] = "union";
TypeKind["Intersection"] = "intersection";
TypeKind["Generic"] = "generic";
TypeKind["Conditional"] = "conditional";
TypeKind["Mapped"] = "mapped";
TypeKind["Template"] = "template";
TypeKind["Tuple"] = "tuple";
TypeKind["Unknown"] = "unknown";
})(TypeKind || (TypeKind = {}));
export var ReferenceType;
(function (ReferenceType) {
ReferenceType["Definition"] = "definition";
ReferenceType["Usage"] = "usage";
ReferenceType["TypeAnnotation"] = "type_annotation";
ReferenceType["Extends"] = "extends";
ReferenceType["Implements"] = "implements";
ReferenceType["Import"] = "import";
ReferenceType["Export"] = "export";
})(ReferenceType || (ReferenceType = {}));
//# sourceMappingURL=types.js.map