Skip to content

Commit 6389039

Browse files
committed
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

Lines changed: 4 additions & 0 deletions
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)