From: 孟世博 <897205285@qq.com> Date: Tue, 20 Feb 2024 13:43:45 +0000 (+0800) Subject: chore: standardize the spelling of TypeScript (#10186) [ci skip] X-Git-Tag: v3.4.20~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31991899017db5b8ca2db9a3962ab94a2fd0caf7;p=thirdparty%2Fvuejs%2Fcore.git chore: standardize the spelling of TypeScript (#10186) [ci skip] --- diff --git a/changelogs/CHANGELOG-3.0.md b/changelogs/CHANGELOG-3.0.md index 50b152dc23..16483767fe 100644 --- a/changelogs/CHANGELOG-3.0.md +++ b/changelogs/CHANGELOG-3.0.md @@ -773,7 +773,7 @@ may cause build issues in projects still using TS 3.x. - **types:** adjust type exports for manual render function and tooling usage ([e4dc03a](https://github.com/vuejs/core/commit/e4dc03a8b17d5e9f167de6a62a645878ac7ef3e2)), closes [#1329](https://github.com/vuejs/core/issues/1329) - **types:** mixins/extends support in TypeScript ([#626](https://github.com/vuejs/core/issues/626)) ([d3c436a](https://github.com/vuejs/core/commit/d3c436ae2e66b75b7f2ed574dadda3f0e1fdce73)) - **types:** support typing directive value via generic argument ([#1007](https://github.com/vuejs/core/issues/1007)) ([419b86d](https://github.com/vuejs/core/commit/419b86d1908f2a0521e6a7eafcbee764e9ee59a0)), closes [#998](https://github.com/vuejs/core/issues/998) -- **types:** update to Typescript 3.9 ([#1106](https://github.com/vuejs/core/issues/1106)) ([97dedeb](https://github.com/vuejs/core/commit/97dedebd8097116a16209664a1ca38392b964da3)) +- **types:** update to TypeScript 3.9 ([#1106](https://github.com/vuejs/core/issues/1106)) ([97dedeb](https://github.com/vuejs/core/commit/97dedebd8097116a16209664a1ca38392b964da3)) ### Performance Improvements diff --git a/packages/compiler-core/__tests__/transforms/vOn.spec.ts b/packages/compiler-core/__tests__/transforms/vOn.spec.ts index 9f5e009487..568fa0b5a8 100644 --- a/packages/compiler-core/__tests__/transforms/vOn.spec.ts +++ b/packages/compiler-core/__tests__/transforms/vOn.spec.ts @@ -271,7 +271,7 @@ describe('compiler: transform v-on', () => { }) }) - test('should NOT wrap as function if expression is already function expression (with Typescript)', () => { + test('should NOT wrap as function if expression is already function expression (with TypeScript)', () => { const { node } = parseWithVOn(`
`) expect((node.codegenNode as VNodeCall).props).toMatchObject({ properties: [ diff --git a/packages/dts-test/README.md b/packages/dts-test/README.md index 197005a569..6f1b1da1d0 100644 --- a/packages/dts-test/README.md +++ b/packages/dts-test/README.md @@ -1,6 +1,6 @@ # dts-test -Tests Typescript types to ensure the types remain as expected. +Tests TypeScript types to ensure the types remain as expected. - This directory is included in the root `tsconfig.json`, where package imports are aliased to `src` directories, so in IDEs and the `pnpm check` script the types are validated against source code.