(comments ...string)
| 979 | } |
| 980 | |
| 981 | func (p parsedType) WithComments(comments ...string) parsedType { |
| 982 | p.RaisedComments = append(p.RaisedComments, comments...) |
| 983 | return p |
| 984 | } |
| 985 | |
| 986 | // TODO: Return comments? |
| 987 | func (ts *Typescript) typescriptType(ty types.Type) (parsedType, error) { |