UpdateSpec properties should be optional

This commit is contained in:
Mads
2015-05-07 07:57:08 +02:00
parent 6fb56c5277
commit 9a53f5ee84
2 changed files with 6 additions and 6 deletions
+3 -3
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;
}
+3 -3
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;
}