Skip to content

Commit

Permalink
Remove failing test case due to type safe concerns
Browse files Browse the repository at this point in the history
see also: #3048 (comment)
  • Loading branch information
naari3 committed Jun 5, 2023
1 parent 1787ed7 commit c38b0e1
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions packages/react/types/tests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,19 +245,3 @@ const anim1 = keyframes`
? true
: false
}

// RMWC-like component test
declare const OtherComponent: {
<Tag extends React.ElementType>(
props:
| React.AllHTMLAttributes<HTMLInputElement>
| React.ComponentPropsWithRef<Tag>,
ref: any
): JSX.Element
displayName?: string
}
;<OtherComponent
onChange={ev => {
console.log(ev.currentTarget.value)
}}
/>

0 comments on commit c38b0e1

Please sign in to comment.