]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: remove outdated TODO
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 23 Mar 2020 09:30:44 +0000 (10:30 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 23 Mar 2020 09:55:53 +0000 (10:55 +0100)
src/router.ts

index 119285e02e56421d9c3425f028518d489163a670..5c71d773a5dd37bda81b3c441d485cf8bdcf520a 100644 (file)
@@ -533,9 +533,8 @@ export function createRouter({
 }
 
 function applyRouterPlugin(app: App, router: Router) {
-  // TODO: remove as any
-  app.component('RouterLink', Link as any)
-  app.component('RouterView', View as any)
+  app.component('RouterLink', Link)
+  app.component('RouterView', View)
 
   let started = false
   // TODO: can we use something that isn't a mixin?