2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-25 01:10:33 +03:00

types: add http-equiv meta (#578)

fix #575
This commit is contained in:
Jordan Taisne
2020-06-28 12:17:22 +02:00
committed by GitHub
parent 14eb4afd5b
commit 64d6b3e87d
+7 -1
View File
@@ -77,6 +77,12 @@ export interface MetaPropertyEquiv extends MetaDataProperty {
template?: (chunk: string) => string template?: (chunk: string) => string
} }
export interface MetaPropertyTrueEquiv extends MetaDataProperty {
'http-equiv': string,
content: string,
template?: (chunk: string) => string
}
export interface MetaPropertyName extends MetaDataProperty { export interface MetaPropertyName extends MetaDataProperty {
name: string, name: string,
content: string, content: string,
@@ -177,7 +183,7 @@ export interface MetaInfo {
href: string href: string
} }
meta?: (MetaPropertyCharset | MetaPropertyEquiv | MetaPropertyName | MetaPropertyMicrodata | MetaPropertyProperty)[] meta?: (MetaPropertyCharset | MetaPropertyEquiv | MetaPropertyTrueEquiv | MetaPropertyName | MetaPropertyMicrodata | MetaPropertyProperty)[]
link?: (LinkPropertyBase | LinkPropertyHref | LinkPropertyHrefCallback)[] link?: (LinkPropertyBase | LinkPropertyHref | LinkPropertyHrefCallback)[]
style?: StyleProperty[] style?: StyleProperty[]
script?: (ScriptPropertyText | ScriptPropertySrc | ScriptPropertySrcCallback | ScriptPropertyJson)[] script?: (ScriptPropertyText | ScriptPropertySrc | ScriptPropertySrcCallback | ScriptPropertyJson)[]