Still doesnât seem to work after adding the lib compiler option. But why is this needed? As far as I can tell it just maps to a normal string (although I couldnât find much info about DOMString). The message variable in the DOMException is just a normal string. I also canât find any info in the documentation of babylonjs or the changelog that we need another setting like this in tsconfig.
I have the same problem here after updating from 5.53.0 to 5.53.1 and I can make the problem appear and disappear by switching between these two versions.
Some fun factsâŚAngular ships with a hard coded version of typescript. This is because google verifies new tsc versions before they update their internal megarepo and angularâs ts version matches the typescript version used internally at google. So⌠the real issue is the ts settings shipping with angular i think.
To the op. Do you have âskipLibCheck: trueâ on? Thats supposed to skip type checking of dependencies, however if youâre in a monorepo that can get messed up. There are other settings that can mess it up for type declaration imports and interop with babel but il skip that for now. For monorepos or non standard folder layouts, You can set the include and exclude properties in your tsconfig . Typically include src and exclude node_modules, dist, build, but if youâre in a mono repo u can do a nested glob for something like packages/*/node_modules
Thanks for the input, I donât have skipLibCheck set, maybe itâs another setting, but since it has been changed by babylonjs I would say: case closed