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
Changing the package.json file to use TypeScript 3.7 seems to create an new TS2440 import error. Previous versions of TypeScript allowed this duplication to exist but it is now being flagged as a bug in 3.7.
$ npm install
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.
> dockerfile-ast@0.0.17 prepublish /Users/remy.suen/code/github/dockerfile-ast
> tsc -p ./src
src/main.ts:93:10 - error TS2440: Import declaration conflicts with local declaration of 'ImageTemplate'.
93 import { ImageTemplate } from './imageTemplate';
~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Changing the
package.json
file to use TypeScript 3.7 seems to create an new TS2440 import error. Previous versions of TypeScript allowed this duplication to exist but it is now being flagged as a bug in 3.7.The text was updated successfully, but these errors were encountered: