Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed May 26, 2024
1 parent 764fdcf commit 590d298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/schema-typescript/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ export const processComment = (comment: string) => {
};

export const makeComment = (comment: string) => {
return [{ type: 'CommentBlock', value: ` ${comment} ` }];
return [{ type: 'CommentBlock', value: ` ${cleanComment(comment)} ` }];
};

export const makeCommentLine = (comment: string): t.CommentLine[] => {
// @ts-ignore
return [{ type: 'CommentBlock', value: ` ${comment} ` }] as t.CommentLine[];
return [{ type: 'CommentBlock', value: ` ${cleanComment(comment)} ` }] as t.CommentLine[];
};

0 comments on commit 590d298

Please sign in to comment.