mirror of https://github.com/vuejs/core.git
[autofix.ci] apply automated fixes
This commit is contained in:
parent
baa24f23f5
commit
0a62a22dbf
|
@ -70,10 +70,10 @@ expectType<JSX.Element>(<Custom baz={1} />)
|
|||
expectType<JSX.Element>(<Custom custom={1} baz={1} />)
|
||||
expectType<JSX.Element>(<Custom bar="bar" baz={1} />)
|
||||
expectType<JSX.Element>(<Custom ref={''} bar="bar" baz={1} />)
|
||||
expectType<JSX.Element>(<Custom baz={1} onClick={(e: number) => { }} />)
|
||||
expectType<JSX.Element>(<Custom baz={1} onClick={(e: number) => {}} />)
|
||||
expectType<JSX.Element>(<Empty />)
|
||||
expectType<JSX.Element>(<Empty custom={1} baz={''} />)
|
||||
expectType<JSX.Element>(<Empty onClick={(e: MouseEvent) => { }} />)
|
||||
expectType<JSX.Element>(<Empty onClick={(e: MouseEvent) => {}} />)
|
||||
|
||||
// @ts-expect-error
|
||||
expectType<JSX.Element>(<Custom />)
|
||||
|
@ -86,8 +86,8 @@ expectType<JSX.Element>(<Custom />)
|
|||
// @ts-expect-error
|
||||
;<Custom baz={1} custom="custom" />
|
||||
// @ts-expect-error
|
||||
;<Custom baz={1} onClick={(e: MouseEvent) => { }} />
|
||||
;<Custom baz={1} onClick={(e: MouseEvent) => {}} />
|
||||
// @ts-expect-error
|
||||
;<Empty baz={1} />
|
||||
// @ts-expect-error
|
||||
;<Empty onClick={(e: number) => { }} />
|
||||
;<Empty onClick={(e: number) => {}} />
|
||||
|
|
Loading…
Reference in New Issue