(comment: string | t.Comment)
| 7 | api.assertVersion(REQUIRED_VERSION("^7.0.0-0 || ^8.0.0")); |
| 8 | |
| 9 | function commentFromString(comment: string | t.Comment): t.Comment { |
| 10 | return typeof comment === "string" |
| 11 | ? { type: "CommentBlock", value: comment } |
| 12 | : comment; |
| 13 | } |
| 14 | |
| 15 | function attachComment({ |
| 16 | ofPath, |
nothing calls this directly
no outgoing calls
no test coverage detected