<p dir="auto">In the es6 spec, various DataView functions have an <em>optional</em> littleEndian argument: <a href="http://www.ecma-international.org/ecma-262/6.0/#sec-dataview.prototype.getuint32" rel="nofollow">http://www.ecma-international.org/ecma-262/6.0/#sec-dataview.prototype.getuint32</a>, however the es6 typings included with typescript have these arguments as mandatory: <a href="https://github.com/Microsoft/TypeScript/blob/master/bin/lib.es6.d.ts#L2046">https://github.com/Microsoft/TypeScript/blob/master/bin/lib.es6.d.ts#L2046</a></p>
<p dir="auto">This causes problems when trying to compile code where the littleEndian argument is not specified.</p>
<p dir="auto">Hi there,</p>
<p dir="auto">I upgraded recently to TypeScript 1.5 and I got complains from the compiler because the methods "getInt32", "getFloat32", etc... which take "byteOffset" and "littleEndian" as parameters, have the latest one, "littleEndian", mantadatory. I went throw the documentation about these methods and this parameter, "littleEndian", should be optional.</p>
<p dir="auto">Is this a mistake?</p>
<p dir="auto">Thanks,<br>
Fran</p>