Skip to content

Commit

Permalink
fix(types): attrs in SetupContext fix#562 (#582)
Browse files Browse the repository at this point in the history
Co-authored-by: lantian.tlan <lantian.tlan@bytedance.com>
  • Loading branch information
popolan1986 and lantian.tlan authored Nov 2, 2020
1 parent 9a5b438 commit 2d6de26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/componentOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ComponentPropsOptions, ExtractPropTypes } from './componentProps'
import { ComponentInstance, ComponentRenderProxy } from './componentProxy'

export interface SetupContext {
readonly attrs: Record<string, string>
readonly attrs: Data
readonly slots: { [key: string]: (...args: any[]) => VNode[] }
readonly parent: ComponentInstance | null
readonly root: ComponentInstance
Expand Down

0 comments on commit 2d6de26

Please sign in to comment.