-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error TS2440: Import declaration conflicts with local declaration of 'AccessScope' #537
Comments
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 |
@ben-girardet We'll get this released in the next few days. Apologies for the delay. It won't be much longer. |
thanks @EisenbergEffect |
@ben-girardet I'm still seeing some issues with building the latest code. I'm investigating now but this may take a bit longer. |
Got a couple issues resolved. @bigopon is looking into one other. Once that's all resolved, I should be able to get this out right away. Again, thanks for your patience! |
@EisenbergEffect @ben-girardet I've fixed this issue at #539 |
I'm submitting a bug report
1.5.0
Please tell us about your environment:
Operating System:
Windows 10
Node Version:
10.8.0
6.2.0
Actually still using gulp v4.0.0 from old way to setup aurelia-cli build
TypeScript 3.7
Current behavior:
Since upgrading to TypeScript 3.7, I am getting the following error during transpilation:
node_modules/aurelia-validation/dist/aurelia-validation.d.ts(1,37): error TS2440: Import declaration conflicts with local declaration of 'AccessScope'
.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).
Expected/desired behavior:
TypeScript 3.7 transpilation to work.
tsconfig.json
package.json
Thanks!
The text was updated successfully, but these errors were encountered: