From 2628cee60938693b1549eca669f63d3c025ab912 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] fix type error of slim DOM options --- src/record/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/record/index.ts b/src/record/index.ts index 642170a2..6214506b 100644 --- a/src/record/index.ts +++ b/src/record/index.ts @@ -95,9 +95,7 @@ function record( headMetaAuthorship: _slimDOMOptions === 'all', headMetaDescKeywords: _slimDOMOptions === 'all', } - : _slimDOMOptions === false - ? {} - : _slimDOMOptions; + : {}; polyfill();