question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Interface 'CollapsibleProps' incorrectly extends interface 'HTMLProps<Collapsible>'.

See original GitHub issue

Possible 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:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
karltaylorcommented, Aug 28, 2018

@byrnedo npm is now showing 2.3.1 🎉

0reactions
byrnedocommented, Aug 28, 2018

One more question @karltaylor: how long does it take to come up on npm or yarn registries?

Read more comments on GitHub >

github_iconTop 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 &#39 - 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found