Skip to content

Conversation

@ianobermiller
Copy link
Contributor

Add the ComponentType type that represents a class or function component with optional props to mirror the same type in @types/react: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0818c3f7de545c6b6431e9745dd9910618bba918/types/react/index.d.ts#L43

Add the `ComponentType` type that represents a class or function component with optional props to mirror the same type in `@types/react`: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0818c3f7de545c6b6431e9745dd9910618bba918/types/react/index.d.ts#L43
Co-authored-by: Ryan Christian <[email protected]>
@coveralls
Copy link

Coverage Status

coverage: 99.464%. remained the same
when pulling be2ca05 on ianobermiller:patch-1
into 4f2a04f on preactjs:main.

@rschristian rschristian merged commit f963509 into preactjs:main Dec 22, 2023
@rschristian
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants