Update the gl.canvas type to include OffscreenCanvas to prep for ts3.6 (#2250)
Update the gl.canvas type to include OffscreenCanvas to prep for ts3.6 (#2250)

BUG

There are still build failures in 3.6 because WebGLRenderingContext2 is included in the 3.6 types but we import a third_party package for this type.

Because we can't yet upgrade to 3.6 for real (google internal compiler isn't there yet) we just do this change.

tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs