Skip to content

Commit 2ec007b

Browse files
authored
docs: fix broken links to dts-test files (#3034)
1 parent 15bae50 commit 2ec007b

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
See also:
232232

233-
- [TypeScript unit tests for component type extensions](https://github.com/vuejs/core/blob/main/packages/dts-test/componentTypeExtensions.test-d.tsx)
233+
- [TypeScript unit tests for component type extensions](https://github.com/vuejs/core/blob/main/packages-private/dts-test/componentTypeExtensions.test-d.tsx)
234234

235235
### Type Augmentation Placement {#type-augmentation-placement}
236236

@@ -290,4 +290,4 @@ The placement of this augmentation is subject to the [same restrictions](#type-a
290290

291291
See also:
292292

293-
- [TypeScript unit tests for component type extensions](https://github.com/vuejs/core/blob/main/packages/dts-test/componentTypeExtensions.test-d.tsx)
293+
- [TypeScript unit tests for component type extensions](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
See also:
113113

114114
- [Note on webpack Treeshaking](/api/general#note-on-webpack-treeshaking)
115-
- [type tests for `defineComponent`](https://github.com/vuejs/core/blob/main/packages/dts-test/defineComponent.test-d.tsx)
115+
- [type tests for `defineComponent`](https://github.com/vuejs/core/blob/main/packages-private/dts-test/defineComponent.test-d.tsx)
116116

117117
:::tip
118118
`defineComponent()` also enables type inference for components defined in plain JavaScript.

0 commit comments

Comments
 (0)