typeson-registry 14.2.1 → 14.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4690,9 +4690,10 @@ var DOMMatrix = /*#__PURE__*/function () {
4690
4690
  * number, number, number, number,
4691
4691
  * number, number, number, number,
4692
4692
  * number, number, number, number
4693
- * ]} init
4693
+ * ]} [init] Per spec, omitting this initializes the 2D identity matrix.
4694
4694
  */
4695
- function DOMMatrix(init) {
4695
+ function DOMMatrix() {
4696
+ var init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [1, 0, 0, 1, 0, 0];
4696
4697
  _classCallCheck(this, DOMMatrix);
4697
4698
  if (typeof init[6] !== 'number') {
4698
4699
  this.is2D = true;
@@ -4748,9 +4749,10 @@ var DOMMatrixReadOnly = /*#__PURE__*/function () {
4748
4749
  * number, number, number, number,
4749
4750
  * number, number, number, number,
4750
4751
  * number, number, number, number
4751
- * ]} init
4752
+ * ]} [init] Per spec, omitting this initializes the 2D identity matrix.
4752
4753
  */
4753
- function DOMMatrixReadOnly(init) {
4754
+ function DOMMatrixReadOnly() {
4755
+ var init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [1, 0, 0, 1, 0, 0];
4754
4756
  _classCallCheck(this, DOMMatrixReadOnly);
4755
4757
  if (typeof init[6] !== 'number') {
4756
4758
  this.is2D = true;