dts-dom
dts-dom copied to clipboard
Including unescaped code
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?