From e26ef3fa4aa13a23a3fff30e020a5f2daa9d0a8b Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Tue, 9 Feb 2021 12:54:12 +0100 Subject: [PATCH] docs(config): @type ProjectOptions Add JSDoc: @type for better editor support. https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html --- docs/config/README.md | 4 ++++ docs/ru/config/README.md | 4 ++++ docs/zh/config/README.md | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/docs/config/README.md b/docs/config/README.md index 1479c86236..3ff52ed8d5 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -22,6 +22,10 @@ The file should export an object containing options: ``` js // vue.config.js + +/** + * @type {import('@vue/cli-service').ProjectOptions} + */ module.exports = { // options... } diff --git a/docs/ru/config/README.md b/docs/ru/config/README.md index 2f31f0dd49..b61e28110b 100644 --- a/docs/ru/config/README.md +++ b/docs/ru/config/README.md @@ -22,6 +22,10 @@ sidebar: auto ```js // vue.config.js + +/** + * @type {import('@vue/cli-service').ProjectOptions} + */ module.exports = { // настройки... } diff --git a/docs/zh/config/README.md b/docs/zh/config/README.md index 8843a6bd96..1d7380fe0c 100644 --- a/docs/zh/config/README.md +++ b/docs/zh/config/README.md @@ -22,6 +22,10 @@ sidebar: auto ``` js // vue.config.js + +/** + * @type {import('@vue/cli-service').ProjectOptions} + */ module.exports = { // 选项... }