Closed invakid404 closed 1 year ago
Hi,
"moduleResolution": "node16",
would work. We need to update the README.
What if I want to use NodeNext
though? Switching to Node16
is not an option for my project.
You can use it since it is the exact same. https://www.typescriptlang.org/tsconfig#moduleResolution
But if it's the exact same, why wouldn't it work in the first place? I'm confused :D
Yours is not nodenext -> "moduleResolution": "Node",
.
While trying to upgrade to
openapi3-ts@4.1.1
in my project, I suddenly started getting this error on all my imports:I'm guessing this is happening because my project is ESM. It used to work fine with
openapi3-ts@4.0.4
.I'm using TypeScript 5.0.4, and my
tsconfig.json
looks like this: