build(deps-dev): bump typescript to 4.7.4 (#6215)

This commit is contained in:
Carlos Rodrigues
2022-07-06 09:27:30 +01:00
committed by GitHub
parent 769e5555f9
commit 17c50ce18d
6 changed files with 49 additions and 48 deletions

View File

@@ -814,6 +814,7 @@ export function finishComponentSetup(
// pass runtime compat config into the compiler
finalCompilerOptions.compatConfig = Object.create(globalCompatConfig)
if (Component.compatConfig) {
// @ts-expect-error types are not compatible
extend(finalCompilerOptions.compatConfig, Component.compatConfig)
}
}