In 3.7, there is no way to override get
/set
declaration emit for accessors
#33640
Labels
Declined
The issue was declined as something which matches the TypeScript vision
Milestone
This is troublesome for producing declaration files that are compatible with versions of typescript less than 3.6. Most other emit changes you can override by writing an explicit type annotation, however there's no equivalent for changing getter/setter declaration emit. This comes up in our
docker
suite, as theget
/set
declaration emit breaksazure-sdk
, as they test their declaration files against older versions of TS.The text was updated successfully, but these errors were encountered: