Skip to content

Commit 91cc2e7

Browse files
vuejs-jp-botpotato4d
authored andcommitted
Add Function type to props (#2026) (#1527)
* Add Function type to props * add Promise contstructor prop type
1 parent 0bb2e1e commit 91cc2e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/v2/guide/components-props.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ props: {
4242
likes: Number,
4343
isPublished: Boolean,
4444
commentIds: Array,
45-
author: Object
45+
author: Object,
46+
callback: Function,
47+
contactsPromise: Promise // or any other constructor
4648
}
4749
```
4850

0 commit comments

Comments
 (0)