소스 검색

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

Tycho 1 년 전
부모
커밋
d0f882d5bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/runtime-dom/src/index.ts

+ 1 - 1
packages/runtime-dom/src/index.ts

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