diff --git a/src/guide/typescript/options-api.md b/src/guide/typescript/options-api.md index ef7a9ad9e..d63179eda 100644 --- a/src/guide/typescript/options-api.md +++ b/src/guide/typescript/options-api.md @@ -230,7 +230,7 @@ declare module 'vue' { 参照: -- [コンポーネントの型拡張の TypeScript の単体テスト](https://github.com/vuejs/core/blob/main/packages/dts-test/componentTypeExtensions.test-d.tsx) +- [コンポーネントの型拡張の TypeScript の単体テスト](https://github.com/vuejs/core/blob/main/packages-private/dts-test/componentTypeExtensions.test-d.tsx) ### 型拡張の配置 {#type-augmentation-placement} @@ -290,4 +290,4 @@ declare module 'vue' { 参照: -- [コンポーネントの型拡張の TypeScript の単体テスト](https://github.com/vuejs/core/blob/main/packages/dts-test/componentTypeExtensions.test-d.tsx) +- [コンポーネントの型拡張の TypeScript の単体テスト](https://github.com/vuejs/core/blob/main/packages-private/dts-test/componentTypeExtensions.test-d.tsx) diff --git a/src/guide/typescript/overview.md b/src/guide/typescript/overview.md index 419ac4f8d..fdd4cd1e5 100644 --- a/src/guide/typescript/overview.md +++ b/src/guide/typescript/overview.md @@ -112,7 +112,7 @@ export default defineComponent({ 参照: - [webpack のツリーシェイキングに関する注意](/api/general#note-on-webpack-treeshaking) -- [`defineComponent` の型テスト](https://github.com/vuejs/core/blob/main/packages/dts-test/defineComponent.test-d.tsx) +- [`defineComponent` の型テスト](https://github.com/vuejs/core/blob/main/packages-private/dts-test/defineComponent.test-d.tsx) :::tip `defineComponent()` は、プレーンな JavaScript で定義されたコンポーネントに対しても型推論を行うことができます。