File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ interface RefreshedTags {
33
33
34
34
interface Refreshed {
35
35
vm : Component ,
36
- metaInfo : MetaInfo ,
36
+ metaInfo : MetaInfoOutput ,
37
37
tags : RefreshedTags
38
38
}
39
39
@@ -166,7 +166,7 @@ export interface NoScriptProperty extends MetaDataProperty {
166
166
167
167
export interface MetaInfo {
168
168
title ?: string
169
- titleTemplate ?: string | ( ( titleChunk : string ) => string )
169
+ titleTemplate ?: string | ( ( titleChunk : string ) => string ) ,
170
170
171
171
htmlAttrs ?: AttributeProperty
172
172
headAttrs ?: AttributeProperty
@@ -188,8 +188,12 @@ export interface MetaInfo {
188
188
[ key : string ] : string [ ]
189
189
}
190
190
191
- changed ?: < T extends MetaInfo > ( newInfo : T , addedTags : elements , removedTags : elements ) => void
192
- afterNavigation ?: < T extends MetaInfo > ( newInfo : T ) => void
191
+ changed ?: < T extends MetaInfoOutput > ( newInfo : T , addedTags : elements , removedTags : elements ) => void
192
+ afterNavigation ?: < T extends MetaInfoOutput > ( newInfo : T ) => void
193
+ }
194
+
195
+ export interface MetaInfoOutput extends MetaInfo {
196
+ titleChunk ?: string
193
197
}
194
198
195
199
export type MetaInfoComputed = ( ) => MetaInfo
You can’t perform that action at this time.
0 commit comments