zspitz / ts-activex-gen

Library + UI for generating Typescript definitions / DefinitelyTyped packages from COM type libraries / LibreOffice Doxygen XML
MIT License
12 stars 4 forks source link

Potential line break within string value in signature #40

Closed zspitz closed 6 years ago

zspitz commented 7 years ago

As part of the fix for #39, we're breaking lines after , or {.

If either of these characters is contained within a string in the signature (e.g. default value),there will be a line break.

The Typescript compiler should catch this, but it would be preferable to avoid it.

See how the compiler handles this when generating definitions.

zspitz commented 6 years ago

Fixed by #81