diff --git a/react/react-addons-global.d.ts b/react/react-addons-global.d.ts index 5a6608dbbd..891e0d1017 100644 --- a/react/react-addons-global.d.ts +++ b/react/react-addons-global.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ReactWithAddons v0.13.0 (internal module) +// Type definitions for ReactWithAddons v0.13.1 (internal module) // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/react/react-addons.d.ts b/react/react-addons.d.ts index c09f5f641d..54fce3ada5 100644 --- a/react/react-addons.d.ts +++ b/react/react-addons.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ReactWithAddons v0.13.0 (external module) +// Type definitions for ReactWithAddons v0.13.1 (external module) // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -131,7 +131,7 @@ declare module "react/addons" { // Base component for plain JS classes class Component implements ComponentLifecycle { - constructor(props: P, context: any); + constructor(props?: P, context?: any); setState(f: (prevState: S, props: P) => S, callback?: () => any): void; setState(state: S, callback?: () => any): void; forceUpdate(): void; diff --git a/react/react-global.d.ts b/react/react-global.d.ts index 2b3a58523b..f7b7859d4b 100644 --- a/react/react-global.d.ts +++ b/react/react-global.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.13.0 (internal module) +// Type definitions for React v0.13.1 (internal module) // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -131,7 +131,7 @@ declare module React { // Base component for plain JS classes class Component implements ComponentLifecycle { - constructor(props: P, context: any); + constructor(props?: P, context?: any); setState(f: (prevState: S, props: P) => S, callback?: () => any): void; setState(state: S, callback?: () => any): void; forceUpdate(): void; diff --git a/react/react.d.ts b/react/react.d.ts index c0d0651675..64796ddf44 100644 --- a/react/react.d.ts +++ b/react/react.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.13.0 (external module) +// Type definitions for React v0.13.1 (external module) // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -131,7 +131,7 @@ declare module "react" { // Base component for plain JS classes class Component implements ComponentLifecycle { - constructor(props: P, context: any); + constructor(props?: P, context?: any); setState(f: (prevState: S, props: P) => S, callback?: () => any): void; setState(state: S, callback?: () => any): void; forceUpdate(): void;