Skip to content

Commit

Permalink
fix: move logger virtual file augmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Sep 19, 2024
1 parent 9b4b724 commit 7fc2157
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions internals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,9 @@ declare module '#internal/i18n/options.mjs' {
declare module '#internal/i18n/locale.detector.mjs' {
export const localeDetector: import('./dist/runtime/composables/server').LocaleDetector
}

declare module 'virtual:nuxt-i18n-logger' {
import type { ConsolaInstance } from 'consola'

export function createLogger(label: string): ConsolaInstance
}
5 changes: 0 additions & 5 deletions src/logger.d.ts

This file was deleted.

0 comments on commit 7fc2157

Please sign in to comment.