From 6ac6ca5548f8efa4ad55e144671260678c542c18 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 14 Jan 2020 11:28:59 +0100 Subject: [PATCH] test(types): add test for props #2768 --- types/test/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/test/index.ts b/types/test/index.ts index a0a1bda86..b370c00da 100644 --- a/types/test/index.ts +++ b/types/test/index.ts @@ -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 } }, {