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
In my api/src/index.ts file when I import express with default import syntax import express from "express" I have this error :
No default export found in imported module "express". eslint(import/default)
I have @types/express installed in devDependencies. Could you check if I missed something in my ESlint config or if it's a bug with composite tsconfig that doesn't understand allowSyntheticDefaultImports option ?
The text was updated successfully, but these errors were encountered:
I'm trying to use
eslint-import-resolver-typescript
in a monorepo project but I have an unresolved ESlint error despite the right config (I believe).This is the architecture of the project:
And this is the configuration of each config files:
tsconfig.json
api/tsconfig.json
app/tsconfig.json
.eslintrc
In my
api/src/index.ts
file when I import express with default import syntaximport express from "express"
I have this error :I have
@types/express
installed in devDependencies. Could you check if I missed something in my ESlint config or if it's a bug with composite tsconfig that doesn't understandallowSyntheticDefaultImports
option ?The text was updated successfully, but these errors were encountered: