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 {}
|
||||
|
13
types/nuxt-extensions.d.ts
vendored
Normal file
13
types/nuxt-extensions.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { NuxtApp } from '#app'
|
||||
|
||||
declare module '#app' {
|
||||
interface NuxtApp {
|
||||
$audioPrepared: () => Promise<void>
|
||||
}
|
||||
}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface ComponentCustomProperties {
|
||||
$audioPrepared: () => Promise<void>
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user