dts-dom icon indicating copy to clipboard operation
dts-dom copied to clipboard

Including unescaped code

Open TedDriggs opened this issue 4 years ago • 0 comments

I'm trying to transform an API response into some type definitions. Unfortunately, some argument and property types are already strings in JSDoc notation, e.g. Array.<string|number>|Buffer. I'm currently converting that to Array<string|number>|Buffer so its valid TS, but I'm nervous about trying to parse it to determine the correct ts-dom structure.

Is there a way to pass that to this library and have it emitted unmodified?

TedDriggs avatar Nov 17 '20 16:11 TedDriggs