From 720a7c8b66f02c6a952a1209834ba5ce9e727132 Mon Sep 17 00:00:00 2001 From: Don McCurdy Date: Sun, 7 Nov 2021 22:15:16 -0800 Subject: [PATCH] Lint cleanup. --- packages/functions/test/utils.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/functions/test/utils.test.ts b/packages/functions/test/utils.test.ts index af770be42..f5f888682 100644 --- a/packages/functions/test/utils.test.ts +++ b/packages/functions/test/utils.test.ts @@ -43,12 +43,12 @@ test('@gltf-transform/functions::utils | getGLPrimitiveCount', async (t) => { test('@gltf-transform/functions::utils | transform pipeline', async (t) => { const doc = new Document(); - const first = createTransform('first', (doc: Document, context?: TransformContext) => { + const first = createTransform('first', (_: Document, context?: TransformContext) => { if (!isTransformPending(context, 'first', 'second')) { throw new Error('Out of order!'); } }); - const second: Transform = (doc: Document, context?: TransformContext) => {}; + const second: Transform = (_: Document) => undefined; t.ok(doc.transform(first, second), '[a, b] OK');