mirror of https://github.com/vuejs/core.git
chore: add explicit type annotation to `initDirectivesForSSR` (#11596)
This commit is contained in:
parent
5238e5a9de
commit
d0f882d5bb
|
@ -283,7 +283,7 @@ let ssrDirectiveInitialized = false
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
export const initDirectivesForSSR = __SSR__
|
||||
export const initDirectivesForSSR: () => void = __SSR__
|
||||
? () => {
|
||||
if (!ssrDirectiveInitialized) {
|
||||
ssrDirectiveInitialized = true
|
||||
|
|
Loading…
Reference in New Issue