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
functiongetFoo(){return{foo: {test: 42}}}const{ foo }=getFoo()// Exported type alias 'AliasType' has or is using private name 'foo'. (4081)exporttypeAliasType=typeoffoo
π Actual behavior
.d.ts can't be emitted
π Expected behavior
.d.ts should be emitted by adding a visible alias statement
The text was updated successfully, but these errors were encountered:
Bug Report
π Search Terms
declaration emit, object pattern, binding pattern, destructuring
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
.d.ts
can't be emittedπ Expected behavior
.d.ts
should be emitted by adding a visible alias statementThe text was updated successfully, but these errors were encountered: