2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-13 04:32:25 +03:00

feat(ts): add microdata meta tag type (#382)

* Adding schema.org meta tag type

* Changing naming
This commit is contained in:
George Boot
2019-06-07 15:17:44 +02:00
committed by Pim
parent eb4980c9de
commit 11c8138876
+7 -1
View File
@@ -62,6 +62,12 @@ export interface MetaPropertyName extends MetaDataProperty {
template?: (chunk: string) => string
}
export interface MetaPropertyMicrodata extends MetaDataProperty {
itemprop: string,
content: string,
template?: (chunk: string) => string
}
// non-w3c interface
export interface MetaPropertyProperty extends MetaDataProperty {
property: string,
@@ -123,7 +129,7 @@ export interface MetaInfo {
href: string
}
meta?: (MetaPropertyCharset | MetaPropertyEquiv | MetaPropertyName | MetaPropertyProperty)[]
meta?: (MetaPropertyCharset | MetaPropertyEquiv | MetaPropertyName | MetaPropertyMicrodata | MetaPropertyProperty)[]
link?: LinkProperty[]
style?: StyleProperty[]
script?: (ScriptPropertyText | ScriptPropertySrc)[]