types: test cases typing
This commit is contained in:
@@ -11,7 +11,7 @@ function getMockRouter() {
|
||||
name: '/',
|
||||
path: '/',
|
||||
});
|
||||
const push = (val) => {
|
||||
const push = (val: unknown) => {
|
||||
if (typeof val === 'string') {
|
||||
$route.name = val;
|
||||
$route.path = val;
|
||||
Reference in New Issue
Block a user