Skip to content

Commit

Permalink
Update types import
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Feb 27, 2020
1 parent 868a20d commit 75ec579
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/next/build/utils.ts
Expand Up @@ -15,7 +15,7 @@ import { recursiveReadDir } from '../lib/recursive-readdir'
import { getRouteMatcher, getRouteRegex } from '../next-server/lib/router/utils'
import { isDynamicRoute } from '../next-server/lib/router/utils/is-dynamic'
import { findPageFile } from '../server/lib/find-page-file'
import { GetStaticPaths } from '../types/index'
import { GetStaticPaths } from 'next/types'

const fileGzipStats: { [k: string]: Promise<number> } = {}
const fsStatGzip = (file: string) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/next/next-server/server/load-components.ts
Expand Up @@ -16,7 +16,7 @@ import {
GetStaticPaths,
GetServerSideProps,
GetStaticProps,
} from '../../types/index'
} from 'next/types'

export function interopDefault(mod: any) {
return mod.default || mod
Expand Down

0 comments on commit 75ec579

Please sign in to comment.