Explicit import type

This commit is contained in:
Jonas Dellinger
2022-05-30 20:57:22 +02:00
parent 8fcaadd8f3
commit 660e34664e
+1 -1
View File
@@ -1,5 +1,5 @@
import { ComponentType, FC, createContext, useContext, useEffect, useState } from 'react';
import { RouteProps } from 'react-router';
import type { RouteProps } from 'react-router';
export interface RouterEntry {
props: Omit<RouteProps, 'path' | 'children'>;