Skip to content

Commit beb5c08

Browse files
committed
Parse property descriptions
1 parent 3fa7fff commit beb5c08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ export class TypespecParser {
846846
return {
847847
kind: 'Property',
848848
name: this.parseName(prop),
849-
description: undefined, // TODO: handle description
849+
description: this.parseDescription(prop.node?.docs),
850850
value: this.parseMemberValue(prop.type, {
851851
isOptional: prop.optional,
852852
default: this.parseDefaultValue(prop.defaultValue),

0 commit comments

Comments
 (0)