Skip to content

Commit cc7cde4

Browse files
committed
docs: fix docs
1 parent 7ce7a03 commit cc7cde4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/no-use-computed-property-like-method.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,14 @@ This rule can't check if props is used as array:
239239
240240
<script>
241241
export default {
242-
props: {
242+
props: [
243243
"propsString",
244244
"propsNumber",
245245
"propsObject",
246246
"propsArray",
247247
"propsBoolean",
248248
"propsFunction"
249-
},
249+
],
250250
computed: {
251251
computedReturnPropsString() {
252252
return this.propsString

0 commit comments

Comments
 (0)