Skip to content

Commit cde18f3

Browse files
authored
docs: fix broken links to dts-test files (#2346)
1 parent 0ba0d1b commit cde18f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/guide/typescript/options-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ declare module 'vue' {
230230

231231
参照:
232232

233-
- [コンポーネントの型拡張の TypeScript の単体テスト](https://github.com/vuejs/core/blob/main/packages/dts-test/componentTypeExtensions.test-d.tsx)
233+
- [コンポーネントの型拡張の TypeScript の単体テスト](https://github.com/vuejs/core/blob/main/packages-private/dts-test/componentTypeExtensions.test-d.tsx)
234234

235235
### 型拡張の配置 {#type-augmentation-placement}
236236

@@ -290,4 +290,4 @@ declare module 'vue' {
290290

291291
参照:
292292

293-
- [コンポーネントの型拡張の TypeScript の単体テスト](https://github.com/vuejs/core/blob/main/packages/dts-test/componentTypeExtensions.test-d.tsx)
293+
- [コンポーネントの型拡張の TypeScript の単体テスト](https://github.com/vuejs/core/blob/main/packages-private/dts-test/componentTypeExtensions.test-d.tsx)

src/guide/typescript/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default defineComponent({
112112
参照:
113113

114114
- [webpack のツリーシェイキングに関する注意](/api/general#note-on-webpack-treeshaking)
115-
- [`defineComponent` の型テスト](https://github.com/vuejs/core/blob/main/packages/dts-test/defineComponent.test-d.tsx)
115+
- [`defineComponent` の型テスト](https://github.com/vuejs/core/blob/main/packages-private/dts-test/defineComponent.test-d.tsx)
116116

117117
:::tip
118118
`defineComponent()` は、プレーンな JavaScript で定義されたコンポーネントに対しても型推論を行うことができます。

0 commit comments

Comments
 (0)