Interface 'CollapsibleProps' incorrectly extends interface 'HTMLProps<Collapsible>'.
See original GitHub issuePossible that the index.d.ts needs to be updated?
/Users/donal/project/node_modules/react-collapsible/index.d.ts
(4,11): Interface 'CollapsibleProps' incorrectly extends interface 'HTMLProps<Collapsible>'.
Types of property 'tabIndex' are incompatible.
Type 'number | null | undefined' is not assignable to type 'number | undefined'.
Type 'null' is not assignable to type 'number | undefined'.
To Reproduce
Add react-collapsible to project
Then build
yarn build
React Version 16.4.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Interface A incorrectly extends interface B - Stack Overflow
Interface 'Props' incorrectly extends interface 'HTMLAttributes'. Types of property 'property' are incompatible. Type 'SerializedObject' is not ...
Read more >TS Proposal : "Interface incorrectly extends interface" - sub ...
TypeScript Version : 2.6.2 The problem Initial scenario I encountered the issue yesterday days as I was trying to add some features to...
Read more >Typescript errors with KendoReact like error TS2430: Interface ...
ts:8:18 - error TS2430: Interface 'GridCellProps' incorrectly extends interface 'CellProps'. Types of property 'onChange' are incompatible. Type ...
Read more >EJ2 build error - incorrectly extends interface ' - Syncfusion
Forum Thread - EJ2 build error: Interface 'ITextAreaElement' incorrectly extends interface 'HTMLTextAreaElement' - ASP.NET MVC - EJ 2.
Read more >The "Interface 'dxLoadPanelOptions' incorrectly extends ...
The "Interface 'dxLoadPanelOptions' incorrectly extends interface 'dxOverlayOptions'" error occurs when DevExtreme with TypeScript 2.4 is used.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@byrnedo npm is now showing 2.3.1 🎉
One more question @karltaylor: how long does it take to come up on npm or yarn registries?