Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit 8bb5176

Browse files
authored
fix: typescript declaration of titleTemplate (#603)
fix #527
1 parent 64d6b3e commit 8bb5176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/vue-meta.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export interface NoScriptProperty extends MetaDataProperty {
172172

173173
export interface MetaInfo {
174174
title?: string
175-
titleTemplate?: string | ((titleChunk: string) => string),
175+
titleTemplate?: string | ((titleChunk: string) => string) | null,
176176

177177
htmlAttrs?: AttributeProperty
178178
headAttrs?: AttributeProperty

0 commit comments

Comments
 (0)