Skip to content

Some component demos don't meet "strictFunctionTypes" requirements #3224

@seanforyou23

Description

@seanforyou23

I noticed that when a consuming typescript app uses the strictFunctionTypes compiler option, following certain component examples causes errors to be thrown. Below is an example of what the error looks like, a typical type mismatch from what I can tell..

Screen Shot 2019-10-28 at 3 00 24 PM

These are the component demos in the react-integration package I see that are affected.

  • ContextSelectorDemo/ContextSelectorDemo.tsx
  • SelectDemo/SelectDemo.tsx
  • TableDemo/TableActionsDemo.tsx
  • TableDemo/TableCompactExpandableDemo.tsx
  • TableDemo/TableSortableForCompoundExpandableDemo.tsx
  • TabsDemo/TabsDemo.tsx
  • TabsDemo/TabsStringEventKeyDemo.tsx

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions