Skip to content

Commit

Permalink
fix types (for real)
Browse files Browse the repository at this point in the history
  • Loading branch information
feedthejim committed Feb 1, 2023
1 parent 7b2ec89 commit c17cbd4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions packages/next/src/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ import { normalizeAppPath } from '../shared/lib/router/utils/app-paths'
import { AppBuildManifest } from './webpack/plugins/app-build-manifest-plugin'
import { RSC, RSC_VARY_HEADER } from '../client/components/app-router-headers'
import { webpackBuild } from './webpack-build'
import { Ora } from 'next/dist/compiled/ora'

export type SsgRoute = {
initialRevalidateSeconds: number | false
Expand All @@ -147,7 +146,7 @@ export type PrerenderManifest = {

export const NextBuildContext: Partial<{
telemetryPlugin: TelemetryPlugin
buildSpinner: Ora
buildSpinner: any
nextBuildSpan: Span
entrypoints: {
client: webpack.EntryObject
Expand Down
4 changes: 0 additions & 4 deletions packages/next/types/compiled.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@ declare module 'next/dist/compiled/webpack/webpack' {
export const NormalModule: any
export const ResolvePluginInstance: any
}

declare module 'next/dist/compiled/ora/index' {
export const Ora: any
}

0 comments on commit c17cbd4

Please sign in to comment.