mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
fix: fix a lot of declaration semantic errors (#7194)
This commit is contained in:
parent
b154318c28
commit
7f06857e46
8 changed files with 62 additions and 61 deletions
|
@ -42,7 +42,8 @@ declare module '@endiliey/react-ideal-image' {
|
|||
|
||||
type ThemeKey = 'placeholder' | 'img' | 'icon' | 'noscript';
|
||||
|
||||
export interface ImageProps extends ComponentProps<'img'> {
|
||||
export interface ImageProps
|
||||
extends Omit<ComponentProps<'img'>, 'srcSet' | 'placeholder'> {
|
||||
/**
|
||||
* This function decides what icon to show based on the current state of the
|
||||
* component.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue