Closed antt0n closed 1 year ago
I'm not sure why you are having these issues. Can you perhaps try a bare example so we can narrow down the problem?
Did you resolve this issue? If not, can you submit a minimal project example that triggers the problem?
This looks like a bad tsconfig
problem.
The errors referencing EventTarget
and AddEventListener
are likely because you need to add DOM to your tsconfig.json
:
"compilerOptions": {
"lib": ["ESNext", "DOM", "DOM.Iterable"],
It's also possible that your tsconfig
is missing the field that tells it to exclude your node_modules
folder from the typechecking process:
"exclude": [
"node_modules/**",
//...
Considering @FractalHQ's suggestion and the fact that it has been tagged as "info needed" since June, I will close this issue. Feel free to re-open if the problem persists. You can also post your questions in the discussion's Q&A section.
Description Impossible to build a TypeScript project with WebMIDI.
Environment: Windows 11 64. Node 17.8.0 Dependencies :
Errors