I have this error spawning when i put module with the value Node16 and moduleResolution to Node16
Given this typescript configuration:
with this import
import { marked } from 'marked';
Here's the message received.

I have installed @types/marked as said in the documentation.
{ "compilerOptions": { "target": "ES2022", "module": "Node16", "moduleResolution": "Node16", "lib": ["ES2022"], "esModuleInterop": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "types": ["node", "jest"] }, "ts-node": { "transpileOnly": true, "require": ["typescript-transform-paths/register"] }, "exclude": ["node_modules"], "include": ["src"] }