[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-09-10 07:00:29 +00:00 committed by GitHub
parent baa24f23f5
commit 0a62a22dbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -70,10 +70,10 @@ expectType<JSX.Element>(<Custom baz={1} />)
expectType<JSX.Element>(<Custom custom={1} baz={1} />) expectType<JSX.Element>(<Custom custom={1} baz={1} />)
expectType<JSX.Element>(<Custom bar="bar" baz={1} />) expectType<JSX.Element>(<Custom bar="bar" baz={1} />)
expectType<JSX.Element>(<Custom ref={''} 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 />)
expectType<JSX.Element>(<Empty custom={1} baz={''} />) expectType<JSX.Element>(<Empty custom={1} baz={''} />)
expectType<JSX.Element>(<Empty onClick={(e: MouseEvent) => { }} />) expectType<JSX.Element>(<Empty onClick={(e: MouseEvent) => {}} />)
// @ts-expect-error // @ts-expect-error
expectType<JSX.Element>(<Custom />) expectType<JSX.Element>(<Custom />)
@ -86,8 +86,8 @@ expectType<JSX.Element>(<Custom />)
// @ts-expect-error // @ts-expect-error
;<Custom baz={1} custom="custom" /> ;<Custom baz={1} custom="custom" />
// @ts-expect-error // @ts-expect-error
;<Custom baz={1} onClick={(e: MouseEvent) => { }} /> ;<Custom baz={1} onClick={(e: MouseEvent) => {}} />
// @ts-expect-error // @ts-expect-error
;<Empty baz={1} /> ;<Empty baz={1} />
// @ts-expect-error // @ts-expect-error
;<Empty onClick={(e: number) => { }} /> ;<Empty onClick={(e: number) => {}} />