Skip to content

Commit 6ac6ca5

Browse files
committed
test(types): add test for props #2768
1 parent a150291 commit 6ac6ca5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

types/test/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ const router = new VueRouter({
8484
from.params
8585
next({ name: 'home' })
8686
next()
87+
},
88+
props: {
89+
default: true,
90+
bar: { id: 123 },
91+
asyncComponent: (route: Route) => route.params
8792
}
8893
},
8994
{

0 commit comments

Comments
 (0)