]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: add explicit type annotation to `initDirectivesForSSR` (#11596)
authorTycho <jh.leong@outlook.com>
Tue, 13 Aug 2024 14:02:57 +0000 (22:02 +0800)
committerGitHub <noreply@github.com>
Tue, 13 Aug 2024 14:02:57 +0000 (22:02 +0800)
packages/runtime-dom/src/index.ts

index 95f27353a72c4ac6ebe7a0ed0611c06d268692d3..344cbf37584e919664880a574a6009c5fc5f06f0 100644 (file)
@@ -283,7 +283,7 @@ let ssrDirectiveInitialized = false
 /**
  * @internal
  */
-export const initDirectivesForSSR = __SSR__
+export const initDirectivesForSSR: () => void = __SSR__
   ? () => {
       if (!ssrDirectiveInitialized) {
         ssrDirectiveInitialized = true