From 06736800abe6f663928f5f3b77eca6bee889859f Mon Sep 17 00:00:00 2001 From: Nico Salvador Date: Wed, 5 Sep 2018 21:49:57 +0800 Subject: [PATCH] Removed old Typescript snippet Would cause conflicting type declarations with the actual code. --- README.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/README.md b/README.md index 2625a61..fe45190 100644 --- a/README.md +++ b/README.md @@ -813,18 +813,3 @@ If this were not the case, you would have to instruct Babel to convert `default` # Examples To run the examples; clone this repository & run `npm install` in the root directory, and then run `npm run dev`. Head to http://localhost:8080. - -# TypeScript Support - -If you have problems with types using vue-meta, then you're most probably using vue-class-component. -In any troublesome situation, just add the following ambient declaration to your types: - -```js -import { MetaInfo } from 'vue-meta'; - -declare module "vue/types/vue" { - interface Vue { - metaInfo?: MetaInfo | (() => MetaInfo) - } -} -```