We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 764fdcf commit 590d298Copy full SHA for 590d298
packages/schema-typescript/src/utils.ts
@@ -99,10 +99,10 @@ export const processComment = (comment: string) => {
99
};
100
101
export const makeComment = (comment: string) => {
102
- return [{ type: 'CommentBlock', value: ` ${comment} ` }];
+ return [{ type: 'CommentBlock', value: ` ${cleanComment(comment)} ` }];
103
104
105
export const makeCommentLine = (comment: string): t.CommentLine[] => {
106
// @ts-ignore
107
- return [{ type: 'CommentBlock', value: ` ${comment} ` }] as t.CommentLine[];
+ return [{ type: 'CommentBlock', value: ` ${cleanComment(comment)} ` }] as t.CommentLine[];
108
0 commit comments