Skip to content

Commit 2d6de26

Browse files
popolan1986lantian.tlan
and
lantian.tlan
authored
fix(types): attrs in SetupContext fix#562 (#582)
Co-authored-by: lantian.tlan <[email protected]>
1 parent 9a5b438 commit 2d6de26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/component/componentOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ComponentPropsOptions, ExtractPropTypes } from './componentProps'
44
import { ComponentInstance, ComponentRenderProxy } from './componentProxy'
55

66
export interface SetupContext {
7-
readonly attrs: Record<string, string>
7+
readonly attrs: Data
88
readonly slots: { [key: string]: (...args: any[]) => VNode[] }
99
readonly parent: ComponentInstance | null
1010
readonly root: ComponentInstance

0 commit comments

Comments
 (0)