chore: add explicit type annotation to `initDirectivesForSSR` (#11596)

This commit is contained in:
Tycho 2024-08-13 22:02:57 +08:00 committed by GitHub
parent 5238e5a9de
commit d0f882d5bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ let ssrDirectiveInitialized = false
/**
* @internal
*/
export const initDirectivesForSSR = __SSR__
export const initDirectivesForSSR: () => void = __SSR__
? () => {
if (!ssrDirectiveInitialized) {
ssrDirectiveInitialized = true