Closed vascobotelho closed 2 years ago
In the index.d.ts file, the ErrorEvent type is missing, and it's giving me this error.
ErrorEvent is a built in type in the DOM lib. Did you disable the DOM lib or enabled the noLib option in your compiler?
I have lib: ["ES2021"]
try with lib: ["ES2021", "DOM"]
It worked, thank you.
In the index.d.ts file, the ErrorEvent type is missing, and it's giving me this error.