diff --git a/components/_util/ActionButton.tsx b/components/_util/ActionButton.tsx index 499fcd40ed42..a3c4105195b5 100644 --- a/components/_util/ActionButton.tsx +++ b/components/_util/ActionButton.tsx @@ -30,7 +30,7 @@ const ActionButton: React.FC = (props) => { }; React.useEffect(() => { - let timeoutId: NodeJS.Timer | null = null; + let timeoutId: ReturnType | null = null; if (props.autoFocus) { timeoutId = setTimeout(() => { ref.current?.focus(); diff --git a/components/badge/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/badge/__tests__/__snapshots__/demo-extend.test.ts.snap index 37ecfb793bc7..c259d778da02 100644 --- a/components/badge/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/badge/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -162,14 +162,11 @@ Array [ viewBox="64 64 896 896" width="1em" > - -