fix type error of slim DOM options

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent ec5b7a4635
commit 2628cee609

View File

@@ -95,9 +95,7 @@ function record<T = eventWithTime>(
headMetaAuthorship: _slimDOMOptions === 'all',
headMetaDescKeywords: _slimDOMOptions === 'all',
}
: _slimDOMOptions === false
? {}
: _slimDOMOptions;
: {};
polyfill();