From d34a5e6e9638b1d39bb77b9a8f7732908363bcf4 Mon Sep 17 00:00:00 2001 From: patak Date: Sun, 16 Apr 2023 22:35:25 +0200 Subject: [PATCH] chore: fix titleTemplate param type --- composables/setups.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composables/setups.ts b/composables/setups.ts index 28b08c0a..f5a7a312 100644 --- a/composables/setups.ts +++ b/composables/setups.ts @@ -22,7 +22,7 @@ export function setupPageHeader() { name: 'viewport', content: () => `width=device-width,initial-scale=1${enablePinchToZoom.value ? '' : ',maximum-scale=1,user-scalable=0'},viewport-fit=cover`, }], - titleTemplate: (title) => { + titleTemplate: (title?: string) => { let titleTemplate = title ?? '' if (titleTemplate.match(/&[a-z0-9#]+;/gi)) {