Skip to content

Commit 5b1a0f1

Browse files
committed
Rolled back the JSDoc comments to the original version
1 parent 66a7a3a commit 5b1a0f1

File tree

1 file changed

+2
-4
lines changed
  • packages/openapi-typescript/src/lib

1 file changed

+2
-4
lines changed

packages/openapi-typescript/src/lib/ts.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,8 @@ export function tsEnumMember(value: string | number, metadata: { name?: string;
390390

391391
return ts.addSyntheticLeadingComment(
392392
member,
393-
ts.SyntaxKind.MultiLineCommentTrivia,
394-
`/**
395-
* @description ${trimmedDescription}
396-
*/`,
393+
ts.SyntaxKind.SingleLineCommentTrivia,
394+
` ${trimmedDescription}`,
397395
true,
398396
);
399397
}

0 commit comments

Comments
 (0)