Initial commit
This commit is contained in:
22
types/logger.d.ts
vendored
Normal file
22
types/logger.d.ts
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { Logger } from "pino";
|
||||
|
||||
declare module "#app" {
|
||||
interface NuxtApp {
|
||||
$logger: Logger;
|
||||
}
|
||||
}
|
||||
|
||||
declare module "vue" {
|
||||
interface ComponentCustomProperties {
|
||||
$logger: Logger;
|
||||
}
|
||||
}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface ComponentCustomProperties {
|
||||
$logger: Logger
|
||||
}
|
||||
}
|
||||
|
||||
export {}
|
||||
|
Reference in New Issue
Block a user