mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-24 21:20:34 +03:00
Attempt on typings.
This commit is contained in:
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Augment the typings of Vue.js
|
||||
*/
|
||||
|
||||
import Vue, { ComponentOptions } from "vue";
|
||||
import { MetaInfo } from './index';
|
||||
|
||||
declare module "vue/types/options" {
|
||||
interface ComponentOptions<V extends Vue> {
|
||||
metaInfo?: MetaInfo | (() => MetaInfo);
|
||||
}
|
||||
}
|
||||
|
||||
declare module "vue/types/vue" {
|
||||
interface Vue {
|
||||
metaInfo?: MetaInfo | (() => MetaInfo);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user