Open mrchimp opened 1 year ago
The same thing is happening when I'm trying to use pageTrackerExcludedRoutes
, and doesn't appear to be actually excluding routes either.
As a quick workaround, you can use
declare module 'vue-gtag' {
interface PluginOptions {
pageTrackerSkipSamePath?: boolean;
}
}
Environment *
Run this command in the project folder and fill in their results:
npm ls vue-gtag
:npm ls vue
:Then, specify:
Description *
I am seeing a type error when trying to use the
pageTrackerSkipSamePath
option in TypeScript, like so:Expected behavior
Compile without error.
Actual behavior
I get an error:
Further Info
It seems that the options don't match up with the type definition.