diff --git a/components/drawer/index.tsx b/components/drawer/index.tsx index 2eef1ebb17..65df947873 100644 --- a/components/drawer/index.tsx +++ b/components/drawer/index.tsx @@ -15,7 +15,7 @@ import { NoCompactStyle } from '../space/Compact'; import useStyle from './style'; const SizeTypes = ['default', 'large'] as const; -type sizeType = typeof SizeTypes[number]; +type sizeType = (typeof SizeTypes)[number]; export interface PushState { distance: string | number; diff --git a/components/image/__tests__/__snapshots__/index.test.tsx.snap b/components/image/__tests__/__snapshots__/index.test.tsx.snap index 6f6d4e020b..9a038590c4 100644 --- a/components/image/__tests__/__snapshots__/index.test.tsx.snap +++ b/components/image/__tests__/__snapshots__/index.test.tsx.snap @@ -43,189 +43,193 @@ exports[`Image Default Group preview props 1`] = `
-
+
- - - -
  • - +
  • +
    - - - -
  • -