Skip to content

Commit 2dbe301

Browse files
authored
chore: fix typo (#13973)
1 parent c16f8a9 commit 2dbe301

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
"cSpell.enabledLanguageIds": ["markdown", "plaintext", "text", "yml"],
66

7-
// Use prettier to format typescript, javascript and JSON files
7+
// Use prettier to format TypeScript, JavaScript and JSON files
88
"[typescript]": {
99
"editor.defaultFormatter": "esbenp.prettier-vscode"
1010
},

packages/compiler-sfc/src/script/resolveType.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ export function registerTS(_loadTS: () => typeof TS): void {
853853
) {
854854
throw new Error(
855855
'Failed to load TypeScript, which is required for resolving imported types. ' +
856-
'Please make sure "typescript" is installed as a project dependency.',
856+
'Please make sure "TypeScript" is installed as a project dependency.',
857857
)
858858
} else {
859859
throw new Error(
@@ -951,7 +951,7 @@ function importSourceToScope(
951951
if (!ts) {
952952
return ctx.error(
953953
`Failed to resolve import source ${JSON.stringify(source)}. ` +
954-
`typescript is required as a peer dep for vue in order ` +
954+
`TypeScript is required as a peer dep for vue in order ` +
955955
`to support resolving types from module imports.`,
956956
node,
957957
scope,

packages/runtime-core/src/componentOptions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,8 @@ interface LegacyOptions<
444444
* #3468
445445
*
446446
* type-only, used to assist Mixin's type inference,
447-
* typescript will try to simplify the inferred `Mixin` type,
448-
* with the `__differentiator`, typescript won't be able to combine different mixins,
447+
* TypeScript will try to simplify the inferred `Mixin` type,
448+
* with the `__differentiator`, TypeScript won't be able to combine different mixins,
449449
* because the `__differentiator` will be different
450450
*/
451451
__differentiator?: keyof D | keyof C | keyof M

0 commit comments

Comments
 (0)