Class constructor OverlayContainer cannot be invoked without 'new'
See original GitHub issueI’m submitting a … (check one with “x”)
- bug report
- feature request
Issue description
Current behavior: When trying to set target to es6 in tsconfig, the application compiles, however this error is reported on startup.
Class constructor OverlayContainer cannot be invoked without ‘new’
Expected behavior: No error
Steps to reproduce:
“target”: “es6”, “lib”: [“es6”, “es2017”, “dom” ],
### Other information:
Chrome and FireFox
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Class constructor cannot be invoked without 'new' in TS
The "Class constructor cannot be invoked without new" error occurs when the target property in tsconfig.json is set to lower than es6 or...
Read more >Angular 7:TypeError: Class constructor Observable cannot be ...
core.js:9110 ERROR TypeError: Class constructor Observable cannot be invoked without 'new' at new FirebaseObjectObservable ...
Read more >Getting error Class Constructor Dialog cannot be invoked ...
Class Constructor Dialog cannot be invoked without new on HTML code. I am attaching the HTML and code for your reference.
Read more >OpenLayers v7.2.1 API - Class: Overlay
An element to be displayed over the map and attached to a single map location. Like Control , Overlays are visible widgets. Unlike...
Read more >Angular 6: provide func in new class constructor-angular.js
[Solved]-Angular 6: provide func in new class constructor-angular.js ... Angular 9 - Class constructor SomeComponentClass cannot be invoked without 'new' ...
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 FreeTop 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
Top GitHub Comments
Fixed by #1474 and available in
4.0.0-rc.5
Any progress on this? I’ve got the same issue.