Adrian Blumer
a965835ec7
webgl2: Allow for better type union with WebGLRenderingContext ( #25059 )
...
* allow for better type union with WebGLRenderingContext
adjusted typings for better declaration merging of some of the method declarations
* removed `BufferData` and `PixelData` type definitions
because otherwise they get exported as well
* addressed code review feedback
- fixed typos
- reverted function signature changes on functions / overloads only introduced in WebGL2
- added WebGL1 compatiblity line for readPixels
2018-04-26 15:07:34 -07:00
Mohamed Hegazy
c9cdb41d11
Fixes in preparation of lib changes ( #24019 )
...
* Fixes in preparation of lib changes
See https://github.com/Microsoft/TSJS-lib-generator/pull/383
* Fix breakes
* revert changes to knuddels-userapps-api
* Fix compressedTexSubImage2D overload
* Fix event emitter methods
* Remove duplicate declaration
* Fix ScreenOrientation.type
2018-03-06 13:32:07 -08:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Andy
924fafffc0
Fix remaining lint errors ( #19166 )
2017-08-20 15:37:53 -07:00
Andy
5d6c651a1a
Apply stricter lint rules ( #19063 )
2017-08-17 14:53:41 -07:00
Andy
3a18123b9e
webgl2: Fix compatibility with lib.dom.d.ts in TypeScript 2.3 ( #15994 )
2017-04-19 13:45:24 -07:00
Andy
bbc61fbf93
Extend "dtslint/dt.json" directly instead of "../tslint.json". ( #15822 )
...
* Extend "dtslint/dt.json" directly instead of "../tslint.json".
* Convert more "../tslint.json" to "dtslint/dt.json"
* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Andy
f2b6506ba5
Fix various lint errors ( #15530 )
2017-03-30 17:42:07 -07:00
Andy Hanson
354cec620d
Move all packages to a types directory
2017-03-24 14:27:52 -07:00