HSF / phoenix

"Phoenix", an experiment independent web-based event display for High Energy Physics.
https://hepsoftwarefoundation.org/phoenix/
Apache License 2.0
54 stars 53 forks source link

Fix for "TypeScript: Illegal constructor" #683

Closed EdwardMoyse closed 2 weeks ago

EdwardMoyse commented 2 weeks ago

Whilst investigating the various reports of issues with loading configs, I saw that we have an error reporting in file.ts "TypeScript: Illegal constructor"

As explained in https://stackoverflow.com/a/26221525, we cannot use constructors for DOM elements