mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #65620 style: fix react ExoticComponent interface style by @wotterfree
Co-authored-by: lvlei.os <lvlei.os@bytedance.com>
This commit is contained in:
2
types/react/ts5.0/index.d.ts
vendored
2
types/react/ts5.0/index.d.ts
vendored
@@ -352,7 +352,7 @@ declare namespace React {
|
||||
/**
|
||||
* **NOTE**: Exotic components are not callable.
|
||||
*/
|
||||
(props: P): (ReactElement|null);
|
||||
(props: P): (ReactElement | null);
|
||||
readonly $$typeof: symbol;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user