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
There was a recent patch release for types change in index.d.ts file, which is causing as error:
TS 1259: Module '"/node_modules/@types/express/index"' can only be default-imported using the 'esModuleInterop' flag
4 import Express from 'express'
~~~~~~~
node_modules/@types/express/index.d.ts:133:1
133 export = e;
~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
Describe the problem
There was a recent patch release for types change in index.d.ts file, which is causing as error:
This seems to be related to #305
Expected behavior
I would like to be able to build my project without needing to add a typescript flag and change all my existing imports
Reproduction
This tsconfig file looks like this
Environment
The text was updated successfully, but these errors were encountered: