Skip to content

Fix +/- 450 errors in type checking

Antoine requested to merge ZeHiro/kresus:ts-client-types into master

This MR adds the type definition for react (first commit) which fixes +/- 400 errors when running yarn ci:ts-client.

The second commit defines the proper type of the children of DisplayIf PopForm components. This fixes +/- 50 errors when running yarn ci:ts-client.

To give more context for the second commit, if there is a propType definition for a component, all the props (called with props or this.props) should be typed (according to typescript)

Edited by Antoine

Merge request reports

Loading