Skip to content

Some component demos don't meet "noImplicitAny" requirements #3231

@seanforyou23

Description

@seanforyou23

I noticed that when a consuming typescript app uses the noImplicitAny compiler option, errors are thrown during build time. I'm seeing this issue in the following component demos in react-integration:

  • AboutModal/AboutModalDemo.tsx
  • AccordionDemo/AccordionDemo.tsx
  • AlertDemo/AlertDemo.tsx
  • ApplicationLauncherDemo/ApplicationLauncherDemo.tsx
  • CheckboxDemo/CheckboxDemo.tsx
  • ChipGroupDemo/ChipGroupDefaultIsOpenDemo.tsx
  • ChipGroupDemo/ChipGroupDemo.tsx
  • ContextSelectorDemo/ContextSelectorDemo.tsx
  • DataToolbarDemo/DataToolbarDemo.tsx
  • DonutUtilizationChartDemo/DonutUtilizationGreenStaticRightDemo.tsx
  • DonutUtilizationChartDemo/DonutUtilizationInvertedRightDemo.tsx
  • DonutUtilizationChartDemo/DonutUtilizationSimpleRightDemo.tsx
  • DonutUtilizationChartDemo/DonutUtilizationSimpleRightGreenDemo.tsx
  • DonutUtilizationChartDemo/DonutUtilizationSmallRightDemo.tsx
  • DonutUtilizationChartDemo/DonutUtilizationSmallStaticRightDemo.tsx
  • DonutUtilizationChartDemo/DonutUtilizationStaticInvertedRightDemo.tsx
  • DonutUtilizationChartDemo/DonutUtilizationStaticRightDemo.tsx
  • FormDemo/FormDemo.tsx
  • FormSelectDemo/FormSelectDemo.tsx
  • InputGroupDemo/InputGroupDemo.tsx
  • NavDemo/NavDemo.tsx
  • NotificationBadgeDemo/NotificationBadgeDemo.tsx
  • OptionsMenuDemo/OptionsMenuDemo.tsx
  • OverflowMenuDemo/OverflowMenuDemo.tsx
  • PaginationDemo/PaginationDemo.tsx
  • RadioDemo/RadioDemo.tsx
  • SelectDemo/SelectDemo.tsx
  • SwitchDemo/SwitchDemo.tsx
  • TableDemo/TableSelectableDemo.tsx
  • TableDemo/TableSortableDemo.tsx
  • TableDemo/TableSortableForCompoundExpandableDemo.tsx
  • TabsDemo/TabsDemo.tsx
  • TabsDemo/TabsStringEventKeyDemo.tsx
  • TextInputDemo/TextInputDemo.ts

Below is an example of how the error can manifest:

Screen Shot 2019-10-28 at 9 08 08 PM

Metadata

Metadata

Assignees

Labels

Breaking change 💥this change requires a major release and has API changes.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions