Skip to content

Commit

Permalink
feat(ts): add microdata meta tag type (#382)
Browse files Browse the repository at this point in the history
* Adding schema.org meta tag type

* Changing naming
  • Loading branch information
georgeboot authored and pimlie committed Jun 7, 2019
1 parent eb4980c commit 11c8138
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion types/vue-meta.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)[]
Expand Down

0 comments on commit 11c8138

Please sign in to comment.