Skip to content

SFC Improvements #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 14 commits into from
Closed
Prev Previous commit
Next Next commit
fix example
  • Loading branch information
yyx990803 committed Jun 29, 2020
commit d805c9ba8ef38cc8d45f7c0a4481b34e1a97b22d
2 changes: 1 addition & 1 deletion active-rfcs/0000-sfc-script-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ type __$props__ = { msg: string }

export default defineComponent({
props: (['msg'] as unknown) as undefined,
setup($props: props__) {
setup($props: __$props__) {
const computedMsg = computed(() => $props.msg + '!!!')

return {
Expand Down