The code-input.js+ESM documentation doesn't make it self-explanatory. I tried using vanilla TypeScript and it initially complained until both module and moduleResolution were set to nodeNext.
Not caused by code-input.js but potentially experienced when using it, yarnpkg with Plug'n'Play enabled does not create the node_modules/ directory that tsc requires.
https://github.com/WebCoder49/code-input-for-typescript is a slightly outdated but still usable example (without ESM).
The code-input.js+ESM documentation doesn't make it self-explanatory. I tried using vanilla TypeScript and it initially complained until both
moduleandmoduleResolutionwere set tonodeNext.Not caused by code-input.js but potentially experienced when using it,
yarnpkgwith Plug'n'Play enabled does not create thenode_modules/directory thattscrequires.https://github.com/WebCoder49/code-input-for-typescript is a slightly outdated but still usable example (without ESM).