The tsconfig.json currently uses moduleResolution: node
|
"moduleResolution": "node", |
This should no longer be used in TypeScript:
It reflects the CommonJS module resolution algorithm as it existed in Node.js versions earlier than v12. It should no longer be used.
I think this is causing errors when importing as an NPM module from Deno, because imports should specify extensions, yet they do not with this module resolution
And the package.json specifies that this is an esmodule:
Consider moving it to node16 or nodenext
The
tsconfig.jsoncurrently usesmoduleResolution: nodelanguageservices/languageserver/tsconfig.json
Line 10 in bdee101
This should no longer be used in TypeScript:
I think this is causing errors when importing as an NPM module from Deno, because imports should specify extensions, yet they do not with this module resolution
And the
package.jsonspecifies that this is an esmodule:languageservices/languageservice/package.json
Line 6 in bdee101
Consider moving it to
node16ornodenext