Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Apr 11, 2024
1 parent 5058e60 commit c89d500
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/__mocks__/@rc-component/trigger.tsx
@@ -1,7 +1,8 @@
import React from 'react';
import Trigger from '@rc-component/trigger/lib/mock';
import type { TriggerProps, TriggerRef } from '@rc-component/trigger';

export default React.forwardRef((props, ref) => {
export default React.forwardRef<TriggerRef, TriggerProps>((props, ref) => {
global.triggerProps = props;
return <Trigger {...props} ref={ref} />;
});

0 comments on commit c89d500

Please sign in to comment.