Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#5197 from ngbrown/patch-5
Browse files Browse the repository at this point in the history
React: Include required render() function in base React.Component class.
  • Loading branch information
RyanCavanaugh committed Aug 4, 2015
2 parents 02271c5 + 207710d commit 070e3a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions react/react-global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ declare module React {
setState(f: (prevState: S, props: P) => S, callback?: () => any): void;
setState(state: S, callback?: () => any): void;
forceUpdate(): void;
render(): JSX.Element;
props: P;
state: S;
context: any;
Expand Down
1 change: 1 addition & 0 deletions react/react.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ declare module __React {
setState(f: (prevState: S, props: P) => S, callback?: () => any): void;
setState(state: S, callback?: () => any): void;
forceUpdate(): void;
render(): JSX.Element;
props: P;
state: S;
context: any;
Expand Down

0 comments on commit 070e3a5

Please sign in to comment.