tamino-martinius / node-ts-dedent

TypeScript package which smartly trims and strips indentation from multi-line strings
MIT License
159 stars 8 forks source link

Add indentation to values with multiline strings #24

Closed Whoaa512 closed 2 years ago

Whoaa512 commented 3 years ago

Includes test

Fixes #21

Whoaa512 commented 2 years ago

Friendly bump @tamino-martinius

tamino-martinius commented 2 years ago

Thanks for the friendly bump and thanks even more for preparing this fix 🙏
I'm currently on travel and will include your PR early next week @Whoaa512

Whoaa512 commented 2 years ago

Thanks! I've just found a new bug with it so I'll try to get that patched before you look at it next week

Whoaa512 commented 2 years ago

Unfortunately I couldn't find an easy way to fix the function call syntax so I left the failing test as skipped. I think fixing it for the tagged literal is additive at the very least. Let me know what you think

tamino-martinius commented 2 years ago

Thanks again @Whoaa512 and sorry for the delay