You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Doc EN]: Line return fix in typescript.md (#1251)
* New in with + symbol
Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
* Review of 2.5.0 doc
Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
* Review
Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
* Correct line return
Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
* Good list number
Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
* fix typo in style-guide/index.md
Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
Copy file name to clipboardExpand all lines: src/v2/guide/typescript.md
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -144,8 +144,7 @@ var vm = new Vue({
144
144
145
145
## Annotating Return Types
146
146
147
-
Because of the circular nature of Vue's declaration files, TypeScript may have difficulties inferring the types of certain methods.
148
-
For this reason, you may need to annotate the return type on methods like `render` and those in `computed`.
147
+
Because of the circular nature of Vue's declaration files, TypeScript may have difficulties inferring the types of certain methods. For this reason, you may need to annotate the return type on methods like `render` and those in `computed`.
If you find type inference or member completion isn't working, annotating certain methods may help address these problems.
179
-
Using the `--noImplicitAny` option will help find many of these unannotated methods.
177
+
If you find type inference or member completion isn't working, annotating certain methods may help address these problems. Using the `--noImplicitAny` option will help find many of these unannotated methods.
9.**Content** (overrides the content of the element)
1407
+
10.**Content** (overrides the content of the element)
1408
1408
-`v-html`
1409
1409
-`v-text`
1410
1410
@@ -1476,7 +1476,7 @@ computed: {
1476
1476
1477
1477
### Single-file component top-level element order <supdata-p="c">recommended</sup>
1478
1478
1479
-
**[Single-file components](../guide/single-file-components.html) should always order `template`, `script`, and `style` tags consistently, with `<style>` last, because at least one of the other two is always necessary.**
1479
+
**[Single-file components](../guide/single-file-components.html) should always order `<template>`, `<script>`, and `<style>` tags consistently, with `<style>` last, because at least one of the other two is always necessary.**
1480
1480
1481
1481
{% raw %}<divclass="style-example example-bad">{% endraw %}
0 commit comments