sp-dev-fx-webparts/samples/react-mobx/typings/react/react-addons-shallow-compare.d.ts
Kevin Mees c909db5b4d Sample react-mobx (#56)
* [react-mobx] scaffold project + migrate to drop5

* [react-mobx] install mobx dependencies

* [react-mobx] configure reactive and nonreactive webpart version

* [react-mobx] add presentational and container components

* [react-mobx] Replace description field with name

* [react-mobx] Add mobx store and hook up webpart & components

* [react-mobx] update readme

* [react-mobx] remove custom tslint.config

* [react-mobx] only render the webpart once
2016-11-10 17:48:31 +02:00

20 lines
656 B
TypeScript

// Type definitions for React v0.14 (react-addons-css-transition-group)
// Project: http://facebook.github.io/react/
// Definitions by: Asana <https://asana.com>, AssureSign <http://www.assuresign.com>, Microsoft <https://microsoft.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="react.d.ts" />
declare namespace __React {
namespace __Addons {
export function shallowCompare<P, S>(
component: __React.Component<P, S>,
nextProps: P,
nextState: S): boolean;
}
}
declare module "react-addons-shallow-compare" {
export = __React.__Addons.shallowCompare;
}