You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -194,7 +194,7 @@ export function guardToPromiseFn(
194
194
})
195
195
// TODO: test me!
196
196
}elseif(guardReturn!==undefined){
197
-
// @ts-ignore: _called is added at canOnlyBeCalledOnce
197
+
// @ts-expect-error: _called is added at canOnlyBeCalledOnce
198
198
if(!next._called){
199
199
warn(message)
200
200
reject(newError('Invalid navigation guard'))
@@ -217,7 +217,7 @@ function canOnlyBeCalledOnce(
217
217
warn(
218
218
`The "next" callback was called more than once in one navigation guard when going from "${from.fullPath}" to "${to.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`
219
219
)
220
-
// @ts-ignore: we put it in the original one because it's easier to check
220
+
// @ts-expect-error: we put it in the original one because it's easier to check
0 commit comments