Skip to content

Commit fb2205d

Browse files
authored
docs: add JSDoc @type tag to config (#6272) [ci skip]
Add JSDoc: @type for better editor support. https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
1 parent e910e9c commit fb2205d

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

docs/config/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ The file should export an object containing options:
2222

2323
``` js
2424
// vue.config.js
25+
26+
/**
27+
* @type {import('@vue/cli-service').ProjectOptions}
28+
*/
2529
module.exports = {
2630
// options...
2731
}

docs/ru/config/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ sidebar: auto
2222

2323
```js
2424
// vue.config.js
25+
26+
/**
27+
* @type {import('@vue/cli-service').ProjectOptions}
28+
*/
2529
module.exports = {
2630
// настройки...
2731
}

docs/zh/config/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ sidebar: auto
2222

2323
``` js
2424
// vue.config.js
25+
26+
/**
27+
* @type {import('@vue/cli-service').ProjectOptions}
28+
*/
2529
module.exports = {
2630
// 选项...
2731
}

0 commit comments

Comments
 (0)