Skip to content

docs: Add a missing type symbol to the key #1238

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

Merged
merged 1 commit into from
Sep 12, 2021

Conversation

Yukon123
Copy link

Description of Problem

export type VNodeProps = {
  key?: string | number | symbol
  ref?: VNodeRef

  // vnode hooks
  onVnodeBeforeMount?: VNodeMountHook | VNodeMountHook[]
  onVnodeMounted?: VNodeMountHook | VNodeMountHook[]
  onVnodeBeforeUpdate?: VNodeUpdateHook | VNodeUpdateHook[]
  onVnodeUpdated?: VNodeUpdateHook | VNodeUpdateHook[]
  onVnodeBeforeUnmount?: VNodeMountHook | VNodeMountHook[]
  onVnodeUnmounted?: VNodeMountHook | VNodeMountHook[]
}

https://github.com/vuejs/vue-next/blob/v3.2.11/packages/runtime-core/src/vnode.ts#L92

Proposed Solution

Additional Information

@Yukon123 Yukon123 changed the title docs: Add a missing type Symbol to the key docs: Add a missing type symbol to the key Sep 11, 2021
@Yukon123 Yukon123 changed the title docs: Add a missing type symbol to the key docs: Add a missing type symbol to the key Sep 11, 2021
@Yukon123 Yukon123 changed the title docs: Add a missing type symbol to the key docs: Add a missing type symbol to the key Sep 11, 2021
@NataliaTepluhina NataliaTepluhina merged commit 5f92c59 into vuejs:master Sep 12, 2021
@Yukon123 Yukon123 deleted the patch-13 branch September 12, 2021 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants