diff --git a/extensions/vscode/src/features/doctor.ts b/extensions/vscode/src/features/doctor.ts index db637d9dd8..c35b681cf5 100644 --- a/extensions/vscode/src/features/doctor.ts +++ b/extensions/vscode/src/features/doctor.ts @@ -265,7 +265,7 @@ function getPackageJsonOfWorkspacePackage(folder: string, pkg: string) { const path = require.resolve(pkg + '/package.json', { paths: [folder] }); return { path, - json: require(path) as { version: string }, + json: require(path) as { version: string; }, }; } catch { } } diff --git a/extensions/vscode/src/hybridMode.ts b/extensions/vscode/src/hybridMode.ts index 606b8b2775..21eb689f49 100644 --- a/extensions/vscode/src/hybridMode.ts +++ b/extensions/vscode/src/hybridMode.ts @@ -28,7 +28,7 @@ export const enabledHybridMode = computed(() => { return true; } return config.server.hybridMode; -}) +}); export const enabledTypeScriptPlugin = computed(() => { return ( diff --git a/packages/language-core/lib/codegen/script/template.ts b/packages/language-core/lib/codegen/script/template.ts index 92a49bf7ac..e8c76a607a 100644 --- a/packages/language-core/lib/codegen/script/template.ts +++ b/packages/language-core/lib/codegen/script/template.ts @@ -57,7 +57,7 @@ function* generateTemplateComponents(options: ScriptCodegenOptions): Generator | undefined, - templateRefNames: Set | undefined + templateRefNames: Set | undefined; }, ctx: TemplateCodegenContext, source: string, diff --git a/packages/language-core/lib/parsers/scriptSetupRanges.ts b/packages/language-core/lib/parsers/scriptSetupRanges.ts index 0eebc5071e..4366454235 100644 --- a/packages/language-core/lib/parsers/scriptSetupRanges.ts +++ b/packages/language-core/lib/parsers/scriptSetupRanges.ts @@ -20,14 +20,14 @@ type DefineProp = { defaultValue?: TextRange; required?: boolean; isModel?: boolean; -} +}; type DefineProps = CallExpressionRange & { name?: string; destructured?: Set; destructuredRest?: string; statement: TextRange; -} +}; type WithDefaults = Pick; @@ -35,20 +35,20 @@ type DefineEmits = CallExpressionRange & { name?: string; hasUnionTypeArg?: boolean; statement: TextRange; -} +}; type DefineSlots = CallExpressionRange & { name?: string; isObjectBindingPattern?: boolean; statement: TextRange; -} +}; type DefineExpose = CallExpressionRange; type DefineOptions = { name?: string; inheritAttrs?: string; -} +}; type UseAttrs = CallExpressionRange; @@ -58,7 +58,7 @@ type UseSlots = CallExpressionRange; type UseTemplateRef = CallExpressionRange & { name?: string; -} +}; export interface ScriptSetupRanges extends ReturnType { }