Henry Liu
Henry Liu
Gator does not have a null keyword, but it is required for TypeScript, such as in functions that take in null as a parameter. Current workaround: `declare void null`, which...
It would be nice to have or types such as `WebGLTexture | null` to make Gator more compatible with TypeScript. For example, `gl.createTexture()` has a `WebGLTexture | null` return type.
`int[1] foo = [1];` works `HTMLImageElement[1] foo = [someImage];` produces parsing error at token foo