Skip to content

Commit 11c8138

Browse files
georgebootpimlie
authored andcommitted
feat(ts): add microdata meta tag type (#382)
* Adding schema.org meta tag type * Changing naming
1 parent eb4980c commit 11c8138

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

types/vue-meta.d.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ export interface MetaPropertyName extends MetaDataProperty {
6262
template?: (chunk: string) => string
6363
}
6464

65+
export interface MetaPropertyMicrodata extends MetaDataProperty {
66+
itemprop: string,
67+
content: string,
68+
template?: (chunk: string) => string
69+
}
70+
6571
// non-w3c interface
6672
export interface MetaPropertyProperty extends MetaDataProperty {
6773
property: string,
@@ -123,7 +129,7 @@ export interface MetaInfo {
123129
href: string
124130
}
125131

126-
meta?: (MetaPropertyCharset | MetaPropertyEquiv | MetaPropertyName | MetaPropertyProperty)[]
132+
meta?: (MetaPropertyCharset | MetaPropertyEquiv | MetaPropertyName | MetaPropertyMicrodata | MetaPropertyProperty)[]
127133
link?: LinkProperty[]
128134
style?: StyleProperty[]
129135
script?: (ScriptPropertyText | ScriptPropertySrc)[]

0 commit comments

Comments
 (0)