docgen: only use type name as link text

This commit is contained in:
Patrik Oldsberg
2020-07-15 11:43:41 +02:00
parent 833d3f4bb4
commit 5a05761afe
@@ -225,7 +225,7 @@ export default class ApiDocGenerator {
id: typeInfo.id,
path: typeInfo.path,
name: typeInfo.name,
location: [node.getStart(), node.getEnd()] as const,
location: [node.typeName.getStart(), node.typeName.getEnd()] as const,
};
return {