mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Fixing isValidClass and isValidElement
The terminology is confusing right now.
This commit is contained in:
1 parent
17d211f896
commit
c4d3efb7f1
1 file changed
+3
-1
Vendored
+3
-1
@@ -32,7 +32,9 @@ declare module React {
|
||||
|
||||
export function renderToStaticMarkup(component: ReactSVGElement): string;
|
||||
|
||||
export function isValidClass(factory: ReactComponentElement<any>): boolean;
|
||||
export function isValidClass(factory: ReactComponentFactory<any>): boolean;
|
||||
|
||||
export function isValidElement(component: ReactComponentElement<any>): boolean;
|
||||
|
||||
export function isValidElement(component: ReactHTMLElement): boolean;
|
||||
|
||||
|
||||
Reference in new issue
Block a user