]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix typo (#13973)
authorabeer0 <47961062+iiio2@users.noreply.github.com>
Thu, 9 Oct 2025 01:28:26 +0000 (07:28 +0600)
committerGitHub <noreply@github.com>
Thu, 9 Oct 2025 01:28:26 +0000 (09:28 +0800)
.vscode/settings.json
packages/compiler-sfc/src/script/resolveType.ts
packages/runtime-core/src/componentOptions.ts

index 302428290b9aae64b68641a30fd64cea8c225eaf..fa3fa65efafa2fb8f0850975875950d8c12a4af3 100644 (file)
@@ -4,7 +4,7 @@
 
   "cSpell.enabledLanguageIds": ["markdown", "plaintext", "text", "yml"],
 
-  // Use prettier to format typescript, javascript and JSON files
+  // Use prettier to format TypeScript, JavaScript and JSON files
   "[typescript]": {
     "editor.defaultFormatter": "esbenp.prettier-vscode"
   },
index 54b93b3fe7a4f222fcc41d31de6673a44784510b..b40c7cd7cbf3dade3e595be7b2a7f7cc767d9324 100644 (file)
@@ -853,7 +853,7 @@ export function registerTS(_loadTS: () => typeof TS): void {
       ) {
         throw new Error(
           'Failed to load TypeScript, which is required for resolving imported types. ' +
-            'Please make sure "typescript" is installed as a project dependency.',
+            'Please make sure "TypeScript" is installed as a project dependency.',
         )
       } else {
         throw new Error(
@@ -951,7 +951,7 @@ function importSourceToScope(
         if (!ts) {
           return ctx.error(
             `Failed to resolve import source ${JSON.stringify(source)}. ` +
-              `typescript is required as a peer dep for vue in order ` +
+              `TypeScript is required as a peer dep for vue in order ` +
               `to support resolving types from module imports.`,
             node,
             scope,
index 3b2ad87c87dacce9e6a2c36be8317fb335e12e45..35f2f0cfaf51f4e52b74624e8f745728941dc1ef 100644 (file)
@@ -444,8 +444,8 @@ interface LegacyOptions<
    * #3468
    *
    * type-only, used to assist Mixin's type inference,
-   * typescript will try to simplify the inferred `Mixin` type,
-   * with the `__differentiator`, typescript won't be able to combine different mixins,
+   * TypeScript will try to simplify the inferred `Mixin` type,
+   * with the `__differentiator`, TypeScript won't be able to combine different mixins,
    * because the `__differentiator` will be different
    */
   __differentiator?: keyof D | keyof C | keyof M