File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 89
89
"vue-router" : " ^4.2.5"
90
90
},
91
91
"peerDependencies" : {
92
- "vue" : " >= 3.2.0 < 4.0.0"
92
+ "vue" : " >= 3.2.26 < 4.0.0"
93
93
},
94
94
"peerDependenciesMeta" : {
95
95
"vue-router" : {
Original file line number Diff line number Diff line change @@ -199,8 +199,7 @@ export function createGtm(options: VueGtmUseOptions): VueGtmPlugin {
199
199
return { install : ( app : App ) => install ( app , options ) } ;
200
200
}
201
201
202
- // @ts -expect-error: assume that `vue` already brings this dependency
203
- declare module '@vue/runtime-core' {
202
+ declare module 'vue' {
204
203
// eslint-disable-next-line jsdoc/require-jsdoc
205
204
export interface ComponentCustomProperties {
206
205
/**
@@ -240,7 +239,6 @@ export default _default;
240
239
* @returns The Vue GTM instance if the it was installed, otherwise `undefined`.
241
240
*/
242
241
export function useGtm ( ) : GtmPlugin | undefined {
243
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return
244
242
return (
245
243
getCurrentInstance ( ) ?. appContext ?. app ?. config ?. globalProperties ?. $gtm ??
246
244
gtmPlugin
You can’t perform that action at this time.
0 commit comments