Merge pull request #4283 from tugend/master

UpdateSpec properties should be optional
This commit is contained in:
Masahiro Wakame
2015-05-19 23:47:21 +09:00
2 changed files with 6 additions and 6 deletions

View File

@@ -77,9 +77,9 @@ declare module React {
// ----------------------------------------------------------------------
interface UpdateSpec {
$set: any;
$merge: {};
$apply(value: any): any;
$set?: any;
$merge?: {};
$apply?(value: any): any;
// [key: string]: UpdateSpec;
}

View File

@@ -812,9 +812,9 @@ declare module "react/addons" {
// ----------------------------------------------------------------------
interface UpdateSpec {
$set: any;
$merge: {};
$apply(value: any): any;
$set?: any;
$merge?: {};
$apply?(value: any): any;
// [key: string]: UpdateSpec;
}