From a33e34454621cf0c868c6156a3523af645df604d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Sun, 13 Nov 2022 14:43:50 +0800 Subject: [PATCH] fix: lint --- components/_util/__tests__/wave.test.tsx | 7 ++++--- components/_util/wave/index.tsx | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) 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(