🔍 Search Terms
dts private
✅ Viability Checklist
⭐ Suggestion
Don't emit #private in dts for Classes with one or multiple private fields
📃 Motivating Example
When opening a dts in node_modules that contains this, because it's outside of any tsconfig, you get an annoying: Private identifiers are only available when targeting ECMAScript 2015 and higher. ts(18028) in VSCode which brings a lot of attention to a line that as no benefits for the consumer.
💻 Use Cases
- What do you want to use this for?
- What shortcomings exist with current approaches?
- What workarounds are you using in the meantime?
🔍 Search Terms
dts private
✅ Viability Checklist
⭐ Suggestion
Don't emit
#privatein dts for Classes with one or multiple private fields📃 Motivating Example
When opening a dts in node_modules that contains this, because it's outside of any tsconfig, you get an annoying:
Private identifiers are only available when targeting ECMAScript 2015 and higher. ts(18028)in VSCode which brings a lot of attention to a line that as no benefits for the consumer.💻 Use Cases