summaryrefslogtreecommitdiff
path: root/node_modules/svgo/plugins/removeOffCanvasPaths.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/svgo/plugins/removeOffCanvasPaths.js')
-rw-r--r--node_modules/svgo/plugins/removeOffCanvasPaths.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/svgo/plugins/removeOffCanvasPaths.js b/node_modules/svgo/plugins/removeOffCanvasPaths.js
index 8afd1e9a..60a69fb1 100644
--- a/node_modules/svgo/plugins/removeOffCanvasPaths.js
+++ b/node_modules/svgo/plugins/removeOffCanvasPaths.js
@@ -57,7 +57,7 @@ exports.fn = () => {
// ensure that the dimensions are 4 values separated by space
const m =
/^(-?\d*\.?\d+) (-?\d*\.?\d+) (\d*\.?\d+) (\d*\.?\d+)$/.exec(
- viewBox
+ viewBox,
);
if (m == null) {
return;
@@ -116,7 +116,7 @@ exports.fn = () => {
const { left, top, width, height } = viewBoxData;
/**
- * @type {Array<PathDataItem>}
+ * @type {PathDataItem[]}
*/
const viewBoxPathData = [
{ command: 'M', args: [left, top] },