From 000c9966370c7bae4f5d9015bf794c2abe2c4338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20G=C5=82owala?= Date: Sat, 20 Apr 2024 11:48:35 +0200 Subject: [PATCH] fix: augment runtime config types (#63) --- src/runtime/types.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/runtime/types.ts b/src/runtime/types.ts index 4afa0d5..7b9753f 100644 --- a/src/runtime/types.ts +++ b/src/runtime/types.ts @@ -1,6 +1,14 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/ban-types */ +import type { ModuleOptions } from "../module" + +declare module 'nuxt/schema' { + interface PublicRuntimeConfig { + gtag: ModuleOptions + } +} + export interface GoogleTagOptions { /** * The Google tag ID to initialize.