2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-05-26 08:24:04 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
Pim 7b85ff22f5 feat(ts): update types for v2 (#338)
* chore: update types for v2

* fix: script.type shouldnt be required

fix: define meta.http-equiv as string, too many options to list

* chore: improve types

* chore: update typescript dependency

* chore: remove unnecessary gitignore

* chore: add metainfocomputed type

* chore: use camelcase for type

* chore: add interfaces for metaInfo properties

* chore: add missing body boolen for script types

* chore: include all type files on build

* chore: remove unused import
2019-04-03 13:41:37 +02:00
Nicolas Igot 9dfb001d4e fix: $meta is not defined in Vue interface type (#312) 2019-01-28 15:21:38 +01:00
さくら 4addca07ef fix(types): metaInfo should always be a member function
In `vue-class-component`, if the defined function is not a member function, it is treated as a data property.
Even if you register a custom hook via `Component.registerHooks`, it will not work.
2018-06-07 10:32:41 +08:00
Raiondesu 92d913413b Finally solved the types. 2018-02-09 17:45:02 +03:00
Raiondesu 9449c39e78 Attempt on typings. 2018-02-08 16:44:05 +03:00