Skip to content

Commit fbca547

Browse files
committed
fix(types): add back expect error
1 parent bbb1190 commit fbca547

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/components/ContentPreviewMode.vue

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ const sync = async (data: PreviewResponse) => {
6969
// Remove query params in url to refresh page (in case of 404 with no SPA fallback)
7070
await router.replace({ query: {} })
7171
72+
// @ts-expect-error custom hook => keep this for typecheck in project using the module
7273
nuxtApp.callHook('nuxt-studio:preview:ready')
7374
7475
if (window.parent && window.self !== window.parent) {

0 commit comments

Comments
 (0)