From ee832a501e37521f2f412f05a1a12214b7aafe5d Mon Sep 17 00:00:00 2001 From: patrikholcak Date: Wed, 16 Oct 2024 10:26:31 +0200 Subject: [PATCH] Fix docs build --- shepherd.js/src/utils/general.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shepherd.js/src/utils/general.ts b/shepherd.js/src/utils/general.ts index 1adab245f..d06062330 100644 --- a/shepherd.js/src/utils/general.ts +++ b/shepherd.js/src/utils/general.ts @@ -94,7 +94,7 @@ export function uuid() { export function dedupeMiddlewares( defaultMiddlewares?: ComputePositionConfig['middleware'], stepMiddlewares?: ComputePositionConfig['middleware'] -) { +): ComputePositionConfig['middleware'] { return defaultMiddlewares?.filter( (defaultMiddleware) => !defaultMiddleware ||