UNPKG

@piwikpro/nuxt-piwik-pro

Version:

Dedicated Piwik PRO library that helps with implementing Piwik PRO Tag Manager and the Piwik PRO tracking client in Nuxt.js applications.

14 lines 604 B
import { InitOptions } from "@piwikpro/vue-piwik-pro"; import * as PiwikPROServices from "@piwikpro/vue-piwik-pro"; import { NuxtApp } from "nuxt/schema"; export type PluginArgs = { containerId: string; containerUrl: string; } & InitOptions; export type PiwikPROServicesType = typeof PiwikPROServices; export type NuxtAppWithPiwikPRO = NuxtApp & { $piwikPRO: PiwikPROServicesType; }; export type PiwikPROHandler<T = unknown> = (piwikPRO: PiwikPROServicesType) => T | Promise<T>; export type HandlePiwikPROReturnedType<T = unknown> = Promise<T | undefined>; //# sourceMappingURL=types.d.ts.map