Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/compiler-sfc/src/script/resolveType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions packages/runtime-core/src/componentOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading