Fix "compoment" typo in index.d.ts (#27454)

This commit is contained in:
Hank Fanchiu
2018-07-23 08:34:52 -07:00
committed by Andy
parent 67b046cb86
commit 73c1a6ca60
+1 -1
View File
@@ -387,7 +387,7 @@ declare namespace React {
// methods are present.
interface ComponentLifecycle<P, S, SS = any> extends NewLifecycle<P, S, SS>, DeprecatedLifecycle<P, S> {
/**
* Called immediately after a compoment is mounted. Setting state here will trigger re-rendering.
* Called immediately after a component is mounted. Setting state here will trigger re-rendering.
*/
componentDidMount?(): void;
/**