We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac3581b commit 425d0e2Copy full SHA for 425d0e2
README.md
@@ -54,6 +54,8 @@ After installing the plugin you can use the [Composition API](https://vue-compos
54
55
# TypeScript
56
57
+**Please upgrade to the latest TypeScript. If you are using vetur, make sure to set `vetur.useWorkspaceDependencies` to `ture`.**
58
+
59
To let TypeScript properly infer types inside Vue component options, you need to define components with `createComponent`:
60
61
```ts
README.zh-CN.md
@@ -54,6 +54,8 @@ Vue.use(VueCompositionApi);
+**请使用最新版的 TypeScript,如果你使用了 `vetur`,请将 `vetur.useWorkspaceDependencies` 设为 `true`。**
为了让 TypeScript 正确的推到类型,我们必须使用 `createComponent` 来定义组件:
0 commit comments