Add import type whenever possible

This commit is contained in:
Alejandro Celaya
2023-02-18 10:40:37 +01:00
parent 7add854b40
commit 2a5480da79
317 changed files with 955 additions and 807 deletions

View File

@@ -1,6 +1,7 @@
import { render, screen } from '@testing-library/react';
import { PropsWithChildren } from 'react';
import { Message, MessageProps } from '../../src/utils/Message';
import type { PropsWithChildren } from 'react';
import type { MessageProps } from '../../src/utils/Message';
import { Message } from '../../src/utils/Message';
describe('<Message />', () => {
const setUp = (props: PropsWithChildren<MessageProps> = {}) => render(<Message {...props} />);