chore: use type imports / avoid unnecessary API type export (#28088)

This commit is contained in:
Kevin Grüneberg authored and GitHub committed 2024-07-19 18:35:23 +08:00
1 parent cb4b0fe6d8
commit 3601bb52f5
17 files changed
+26 -26

No files matched your search

-4
View File
@@ -1,4 +0,0 @@
/**
* Avoid importing this file and import the types directly from api-types
*/
export * from 'api-types'
+3 -3
View File
@@ -1,6 +1,6 @@
import { NextPage } from 'next'
import { AppProps } from 'next/app'
import { ReactElement, ReactNode } from 'react'
import type { NextPage } from 'next'
import type { AppProps } from 'next/app'
import type { ReactElement, ReactNode } from 'react'
export type AppPropsWithLayout = AppProps & {
Component: NextPageWithLayout