Skip to content

Commit d880833

Browse files
Links to TS docs from the API section (#2141)
1 parent a138a2a commit d880833

File tree

4 files changed

+18
-9
lines changed

4 files changed

+18
-9
lines changed

src/api/built-in-special-attributes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ Denotes a [template ref](/guide/essentials/template-refs.html).
8080

8181
`this.$refs` is also non-reactive, therefore you should not attempt to use it in templates for data-binding.
8282

83-
- **See also:** [Template Refs](/guide/essentials/template-refs.html)
83+
- **See also:**
84+
- [Guide - Template Refs](/guide/essentials/template-refs.html)
85+
- [Guide - Typing Template Refs](/guide/typescript/composition-api.html#typing-template-refs) <sup class="vt-badge ts" />
86+
- [Guide - Typing Component Template Refs](/guide/typescript/composition-api.html#typing-component-template-refs) <sup class="vt-badge ts" />
8487

8588
## is {#is}
8689

src/api/composition-api-dependency-injection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Provides a value that can be injected by descendant components.
3939

4040
- **See also**:
4141
- [Guide - Provide / Inject](/guide/components/provide-inject.html)
42-
- [Guide - Typing Provide / Inject](/guide/typescript/composition-api.html#typing-provide-inject)
42+
- [Guide - Typing Provide / Inject](/guide/typescript/composition-api.html#typing-provide-inject) <sup class="vt-badge ts" />
4343

4444
## inject() {#inject}
4545

@@ -103,4 +103,4 @@ Injects a value provided by an ancestor component or the application (via `app.p
103103

104104
- **See also**:
105105
- [Guide - Provide / Inject](/guide/components/provide-inject.html)
106-
- [Guide - Typing Provide / Inject](/guide/typescript/composition-api.html#typing-provide-inject)
106+
- [Guide - Typing Provide / Inject](/guide/typescript/composition-api.html#typing-provide-inject) <sup class="vt-badge ts" />

src/api/options-state.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ Declare the props of a component.
125125
}
126126
```
127127

128-
- **See also:** [Props](/guide/components/props.html)
128+
- **See also:**
129+
- [Guide - Props](/guide/components/props.html)
130+
- [Guide - Typing Component Props](/guide/typescript/options-api.html#typing-component-props) <sup class="vt-badge ts" />
129131

130132
## computed {#computed}
131133

@@ -205,7 +207,9 @@ Declare computed properties to be exposed on the component instance.
205207
}
206208
```
207209

208-
- **See also:** [Computed Properties](/guide/essentials/computed.html)
210+
- **See also:**
211+
- [Guide - Computed Properties](/guide/essentials/computed.html)
212+
- [Guide - Typing Computed Properties](/guide/typescript/options-api.html#typing-computed-properties) <sup class="vt-badge ts" />
209213

210214
## methods {#methods}
211215

@@ -429,7 +433,9 @@ Declare the custom events emitted by the component.
429433
}
430434
```
431435

432-
* **See also:** [Fallthrough Attributes](/guide/components/attrs.html)
436+
- **See also:**
437+
- [Guide - Fallthrough Attributes](/guide/components/attrs.html)
438+
- [Guide - Typing Component Emits](/guide/typescript/options-api.html#typing-component-emits) <sup class="vt-badge ts" />
433439

434440
## expose {#expose}
435441

src/api/reactivity-core.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Takes an inner value and returns a reactive and mutable ref object, which has a
4141

4242
- **See also:**
4343
- [Guide - Reactive Variables with `ref()`](/guide/essentials/reactivity-fundamentals.html#reactive-variables-with-ref)
44-
- [Guide - Typing `ref()`](/guide/typescript/composition-api.html#typing-ref)
44+
- [Guide - Typing `ref()`](/guide/typescript/composition-api.html#typing-ref) <sup class="vt-badge ts" />
4545

4646
## computed() {#computed}
4747

@@ -111,7 +111,7 @@ Takes a getter function and returns a readonly reactive [ref](#ref) object for t
111111
- **See also:**
112112
- [Guide - Computed Properties](/guide/essentials/computed.html)
113113
- [Guide - Computed Debugging](/guide/extras/reactivity-in-depth.html#computed-debugging)
114-
- [Guide - Typing `computed()`](/guide/typescript/composition-api.html#typing-computed)
114+
- [Guide - Typing `computed()`](/guide/typescript/composition-api.html#typing-computed) <sup class="vt-badge ts" />
115115

116116
## reactive() {#reactive}
117117

@@ -188,7 +188,7 @@ Returns a reactive proxy of the object.
188188

189189
- **See also:**
190190
- [Guide - Reactivity Fundamentals](/guide/essentials/reactivity-fundamentals.html)
191-
- [Guide - Typing `reactive()`](/guide/typescript/composition-api.html#typing-reactive)
191+
- [Guide - Typing `reactive()`](/guide/typescript/composition-api.html#typing-reactive) <sup class="vt-badge ts" />
192192

193193
## readonly() {#readonly}
194194

0 commit comments

Comments
 (0)