Situation
Expected behaviour
Workaround:
Removing the @types/webgl2 package from package.json fixed this error for me.
@types/webgl2
package.json
Having the same issue in TypeScript 3.6.4.
Someone will need to send a PR to DefinitelyTyped
Most helpful comment
Removing the
@types/webgl2package frompackage.jsonfixed this error for me.