Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
update deprecated message
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 14, 2022
1 parent c283b2d commit 4ca6bcb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/nuxt/src/core/nuxt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,11 @@ export async function loadNuxt (opts: LoadNuxtOptions): Promise<Nuxt> {
return nuxt
}

/** @deprecated `defineNuxtConfig` is auto imported! Remove import or (alternatively) use `import { defineNuxtConfig } from 'nuxt/config'` */
/** @deprecated `defineNuxtConfig` is auto imported. Remove import or alternatively use `import { defineNuxtConfig } from 'nuxt/config'`. */
export function defineNuxtConfig (config: NuxtConfig): NuxtConfig {
return config
}

/** @deprecated Use import type { NuxtConfig } from 'nuxt/config' or remove import */
export type { NuxtConfig }
/** @deprecated Use `import type { NuxtConfig } from 'nuxt/config'`. */
type _NuxtConfig = NuxtConfig
export type { _NuxtConfig as NuxtConfig }

0 comments on commit 4ca6bcb

Please sign in to comment.