Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6389039

Browse files
committedJan 1, 2023
docs: update
1 parent 176e39c commit 6389039

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎active-rfcs/0000-infer-attrs.md

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ I already published an npm package named [vue-ts-utils](https://github.com/rudy-
1616
const Comp = defineComponent({
1717
props: {
1818
foo: String
19+
},
20+
render() {
21+
// number
22+
console.log(this.$attrs.bar)
1923
}
2024
}, { attrs: {} as { bar: number } })
2125

0 commit comments

Comments
 (0)
Please sign in to comment.