diff --git a/components/_util/__tests__/wave.test.tsx b/components/_util/__tests__/wave.test.tsx index 67fdd16ed1..e166cb2347 100644 --- a/components/_util/__tests__/wave.test.tsx +++ b/components/_util/__tests__/wave.test.tsx @@ -3,6 +3,7 @@ import mountTest from '../../../tests/shared/mountTest'; import { render, waitFakeTimer, fireEvent, act } from '../../../tests/utils'; import ConfigProvider from '../../config-provider'; import Wave from '../wave'; +import type { InternalWave } from '../wave'; describe('Wave component', () => { mountTest(Wave); @@ -194,7 +195,7 @@ describe('Wave component', () => { }); it('bindAnimationEvent should return when node is null', () => { - const ref = React.createRef(); + const ref = React.createRef(); render(