]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: oops file
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 4 May 2022 16:57:48 +0000 (18:57 +0200)
committerEduardo San Martin Morote <posva@users.noreply.github.com>
Thu, 30 Jun 2022 07:59:00 +0000 (09:59 +0200)
src/typedRouter.ts [new file with mode: 0644]

diff --git a/src/typedRouter.ts b/src/typedRouter.ts
new file mode 100644 (file)
index 0000000..7f721be
--- /dev/null
@@ -0,0 +1,7 @@
+import { Router } from './router'
+
+export interface Config {
+  // Router: unknown
+}
+
+export type RouterTyped = Config extends Record<'Router', infer R> ? R : Router