mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-23 19:48:54 +02:00
refactor: fix a few type inconsistencies (#5788)
This commit is contained in:
parent
075234851c
commit
72990726e5
11 changed files with 28 additions and 20 deletions
|
@ -189,7 +189,7 @@ function CollapsibleBase({
|
|||
|
||||
return (
|
||||
<As
|
||||
// @ts-expect-error: see https://twitter.com/sebastienlorber/status/1412784677795110914
|
||||
// @ts-expect-error: the "too complicated type" is produced from "CollapsibleElementType" being a huge union
|
||||
ref={collapsibleRef}
|
||||
style={disableSSRStyle ? undefined : getSSRStyle(collapsed)}
|
||||
onTransitionEnd={(e: React.TransitionEvent) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue