ReferenceError: PointerEvent is not defined
See original GitHub issueIssue :
After upgrading to Jest 24, I get this Typescript error:
ReferenceError: PointerEvent is not defined
I use a tsconfig.spec.json
(which seems to be loaded by ts-jest) which contains "lib": ["es2017", "dom"]
in compilerOptions
.
Expected behavior :
I expect PointerEvent
to be defined, as it is part of the TypeScript dom
lib.
Issue Analytics
- State:
- Created 4 years ago
- Comments:28
Top Results From Across the Web
PointerEvent is not defined · Issue #1035 · kulshekhar/ts-jest
Issue : After upgrading to Jest 24, I get this Typescript error: ReferenceError: PointerEvent is not defined I use a tsconfig.spec.json ...
Read more >javascript - How to substitute the PointerEvent in Jest ...
If I test this setup with jest it always throws me the error ReferenceError: PointerEvent is not defined . I can fix this...
Read more >Solution for “Error: The argument type 'PointerEvent' can't be ...
Solution for “Error: The argument type 'PointerEvent' can't be assigned to the ... Solution for “ReferenceError: util$4 is not defined” for Svelte apps....
Read more >ReferenceError: PointerEvent is not defined - - Bountysource
ReferenceError : PointerEvent is not defined. I use a tsconfig.spec.json (which seems to be loaded by ts-jest) which contains "lib": ...
Read more >PointerEvent - Web APIs | MDN
Chrome Edge
PointerEvent Full support. Chrome55. Toggle history Full support. Edge12. T...
PointerEvent() constructor Full support. Chrome55. Toggle history Full support. Edge12. T...
altitudeAngle. Experimental Full...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, I was able to reproduce your issue, will have a look at it.
I see often some issues about configuration and examples. Perhaps it’s good that in the example of this repo we put example projects with base configuration so one can check and follow it.