Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
## TypeScript
-It is possible to type the meta field by extending the `RouteMeta` interface:
+It is possible to type the meta field by extending the `RouteMeta` interface from `vue-router`:
```ts
-// typings.d.ts or router.ts
+// This can be directly added to any of your `.ts` files like `router.ts`
+// It can also be added to a `.d.ts` file, in which case you will need to add an export
+// to ensure it is treated as a module
+export {}
+
import 'vue-router'
declare module 'vue-router' {