From ff1e73be3e00d7ed86e5d65fcde816ad03644a85 Mon Sep 17 00:00:00 2001 From: Chris Williams Date: Fri, 27 Sep 2019 12:00:01 -0700 Subject: [PATCH] lint(vx-zoom/matrix) --- packages/vx-zoom/src/util/matrix.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vx-zoom/src/util/matrix.ts b/packages/vx-zoom/src/util/matrix.ts index df2ac70007..966c614234 100644 --- a/packages/vx-zoom/src/util/matrix.ts +++ b/packages/vx-zoom/src/util/matrix.ts @@ -95,9 +95,10 @@ export function composeMatrices(...matrices: TransformMatrix[]): TransformMatrix return matrices[0]; case 2: return multiplyMatrices(matrices[0], matrices[1]); - default: + default: { const [matrix1, matrix2, ...restMatrices] = matrices; const matrix = multiplyMatrices(matrix1, matrix2); return composeMatrices(matrix, ...restMatrices); + } } }