Skip to content

Commit

Permalink
test(types): add test for props #2768
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jan 14, 2020
1 parent a150291 commit 6ac6ca5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ const router = new VueRouter({
from.params
next({ name: 'home' })
next()
},
props: {
default: true,
bar: { id: 123 },
asyncComponent: (route: Route) => route.params
}
},
{
Expand Down

0 comments on commit 6ac6ca5

Please sign in to comment.