Skip to content

Commit 8dcdb40

Browse files
committed
build(deps-dev): bump typescript to 4.7.4
1 parent fb3bfde commit 8dcdb40

File tree

5 files changed

+42
-39
lines changed

5 files changed

+42
-39
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"todomvc-app-css": "^2.3.0",
9494
"ts-jest": "^27.0.5",
9595
"tslib": "^2.4.0",
96-
"typescript": "^4.6.4",
96+
"typescript": "^4.7.4",
9797
"vite": "^2.9.8",
9898
"vue": "workspace:*",
9999
"yorkie": "^2.0.0"

packages/reactivity/src/computed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class ComputedRefImpl<T> {
3030
public readonly effect: ReactiveEffect<T>
3131

3232
public readonly __v_isRef = true
33-
public readonly [ReactiveFlags.IS_READONLY]: boolean
33+
public readonly [ReactiveFlags.IS_READONLY]: boolean = false
3434

3535
public _dirty = true
3636
public _cacheable: boolean

packages/runtime-core/src/component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,7 @@ export function finishComponentSetup(
814814
// pass runtime compat config into the compiler
815815
finalCompilerOptions.compatConfig = Object.create(globalCompatConfig)
816816
if (Component.compatConfig) {
817+
// @ts-expect-error types are not compatible
817818
extend(finalCompilerOptions.compatConfig, Component.compatConfig)
818819
}
819820
}

packages/server-renderer/src/renderToString.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export async function resolveTeleports(context: SSRContext) {
7777
// note: it's OK to await sequentially here because the Promises were
7878
// created eagerly in parallel.
7979
context.teleports[key] = await unrollBuffer(
80-
(await Promise.all(context.__teleportBuffers[key])) as SSRBuffer
80+
await Promise.all([context.__teleportBuffers[key]])
8181
)
8282
}
8383
}

pnpm-lock.yaml

Lines changed: 38 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)