"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"
},
) {
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(
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,
* #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