This repository was archived by the owner on Oct 1, 2025. It is now read-only.
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 {
3333
3434interface Refreshed {
3535 vm : Component ,
36- metaInfo : MetaInfo ,
36+ metaInfo : MetaInfoOutput ,
3737 tags : RefreshedTags
3838}
3939
@@ -166,7 +166,7 @@ export interface NoScriptProperty extends MetaDataProperty {
166166
167167export interface MetaInfo {
168168 title ?: string
169- titleTemplate ?: string | ( ( titleChunk : string ) => string )
169+ titleTemplate ?: string | ( ( titleChunk : string ) => string ) ,
170170
171171 htmlAttrs ?: AttributeProperty
172172 headAttrs ?: AttributeProperty
@@ -188,8 +188,12 @@ export interface MetaInfo {
188188 [ key : string ] : string [ ]
189189 }
190190
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
193197}
194198
195199export type MetaInfoComputed = ( ) => MetaInfo
You can’t perform that action at this time.
0 commit comments