Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
error TS2440: Import declaration conflicts with local declaration of 'AccessScope' #537
I'm submitting a bug report
Please tell us about your environment:
If I comment out https://github.com/aurelia/validation/blob/master/dist/aurelia-validation.d.ts#L505 the transpilation works (though obviously that's not an actual solution).
A bug fix introduced in TypeScript 3.7 seems to be the cause of the issues here under the 'Local and Imported Type Declarations Now Conflict' section:
I confirm the bug and the new TypeScript 3.7 release that now error when there is a conflict between import and export.
In this package, the
And is imported from
When compiling the export and import get mixed in the declaration, which result in the error mentioned above:
Now when I look at the
Can someone explain the reason behind this redeclaration as