In client/src/common/api.ts, all middleware types are exported with the exception of TypeHierarchyMiddleware. This looks like an oversight? I think this line should be present:
export { PrepareTypeHierarchySignature, TypeHierarchySupertypesSignature, TypeHierarchySubtypesSignature, TypeHierarchyMiddleware } from './typeHierarchy';
by analogy with the other lines:
export { PrepareCallHierarchySignature, CallHierarchyIncomingCallsSignature, CallHierarchyOutgoingCallsSignature, CallHierarchyMiddleware } from './callHierarchy';
export { ProvideCodeActionsSignature, ResolveCodeActionSignature, CodeActionMiddleware } from './codeAction';
export { ProvideCodeLensesSignature, ResolveCodeLensSignature, CodeLensMiddleware, CodeLensProviderShape } from './codeLens';
...
In client/src/common/api.ts, all middleware types are exported with the exception of TypeHierarchyMiddleware. This looks like an oversight? I think this line should be present:
by analogy with the other lines: