You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We implemented the proposed solution for private identifiers in .d.ts files using #private (bikeshedding of the name welcome). Explanation here. Thanks for your time and for the discussion!
That'll depend on your Babel settings as well. Babel (7) will use Define by default, but if you pass the loose: true option to the transform it will use Set.
Activity
mheiber commentedon Sep 16, 2019
We implemented the proposed solution for private identifiers in
.d.tsfiles using#private(bikeshedding of the name welcome). Explanation here. Thanks for your time and for the discussion!RyanCavanaugh commentedon Sep 16, 2019
this.p = ein JS files not be treated like field declarations for the purposes of detecting these problemsinterfacepropertiesx;which means "set to undefined" in proposaldeclare x;is the logical choiceJessidhia commentedon Oct 5, 2019
That'll depend on your Babel settings as well. Babel (7) will use Define by default, but if you pass the
loose: trueoption to the transform it will use Set.