2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-24 15:51:42 +03:00

Finally solved the types.

This commit is contained in:
Raiondesu
2018-02-09 17:45:02 +03:00
parent 834326b015
commit 92d913413b
5 changed files with 39 additions and 15 deletions
+2 -2
View File
@@ -7,12 +7,12 @@ import { MetaInfo } from './index';
declare module "vue/types/options" {
interface ComponentOptions<V extends Vue> {
metaInfo?: MetaInfo | (() => MetaInfo);
metaInfo?: MetaInfo | (() => MetaInfo)
}
}
declare module "vue/types/vue" {
interface Vue {
metaInfo?: MetaInfo | (() => MetaInfo);
metaInfo?: MetaInfo | (() => MetaInfo)
}
}