diff --git a/.github/contributing.md b/.github/contributing.md
index c535aa7f4..43f3c532b 100644
--- a/.github/contributing.md
+++ b/.github/contributing.md
@@ -261,7 +261,7 @@ import { h } from '@vue/runtime-core'
This is made possible via several configurations:
- For TypeScript, `compilerOptions.paths` in `tsconfig.json`
-- Vitest and Rollup share the sae set of aliases from `scripts/aliases.js`
+- Vitest and Rollup share the same set of aliases from `scripts/aliases.js`
- For plain Node.js, they are linked using [PNPM Workspaces](https://pnpm.io/workspaces).
### Package Dependencies
@@ -330,4 +330,4 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
Thank you to all the people who have already contributed to Vue.js!
-
+
diff --git a/package.json b/package.json
index e848fc831..9ad6b011c 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"version": "3.3.4",
- "packageManager": "pnpm@8.4.0",
+ "packageManager": "pnpm@8.6.2",
"type": "module",
"scripts": {
"dev": "node scripts/dev.js",
diff --git a/packages/compiler-sfc/__tests__/compileScript/resolveType.spec.ts b/packages/compiler-sfc/__tests__/compileScript/resolveType.spec.ts
index 85d67e01c..607654a95 100644
--- a/packages/compiler-sfc/__tests__/compileScript/resolveType.spec.ts
+++ b/packages/compiler-sfc/__tests__/compileScript/resolveType.spec.ts
@@ -10,7 +10,7 @@ import {
} from '../../src/script/resolveType'
import ts from 'typescript'
-registerTS(ts)
+registerTS(() => ts)
describe('resolveType', () => {
test('type literal', () => {
diff --git a/packages/compiler-sfc/src/compileScript.ts b/packages/compiler-sfc/src/compileScript.ts
index a66a27f33..5ad66c29b 100644
--- a/packages/compiler-sfc/src/compileScript.ts
+++ b/packages/compiler-sfc/src/compileScript.ts
@@ -285,7 +285,7 @@ export function compileScript(
const scriptAst = ctx.scriptAst
const scriptSetupAst = ctx.scriptSetupAst!
- // 1.1 walk import delcarations of