wrong WebGLRenderingContext interface definition about gl.pixelStore #13093
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Milestone
TypeScript Version: 2.1.4
Code
Expected behavior:
well compiled
Actual behavior:
error TS2345: Argument of type 'true' is not assignable to parameter of type 'number'
I checked the
lib.d.ts
and got thisbut it should be
check this API at MDN here
The text was updated successfully, but these errors were encountered: