未验证 提交 3666843e 编写于 作者: J JJ Kasper 提交者: GitHub

Remove type defs for non-ts files and fix wrong import for router in _app (#7150)

上级 70942050
export * from './dist/lib/dynamic'
export {default} from './dist/lib/dynamic'
export * from 'next-server/dynamic'
export {default} from 'next-server/dynamic'
export * from './dist/client/link'
export {default} from './dist/client/link'
......@@ -5,7 +5,7 @@ import { makePublicRouterInstance } from '../client/router'
export { NextComponentType, IContext, IAppContext, IAppInitialProps, IAppProps }
type Router = import('next-server/lib/router/router').default
type Router = import('next-server/dist/lib/router/router').default
export type AppClientContext = IAppContext<Router>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册