@@ -49,7 +49,7 @@ function defaultDiffer(prevProp: mixed, nextProp: mixed): boolean {
4949function restoreDeletedValuesInNestedArray (
5050 updatePayload : Object ,
5151 node : NestedNode ,
52- validAttributes : AttributeConfiguration < > ,
52+ validAttributes : AttributeConfiguration ,
5353) {
5454 if ( Array . isArray ( node ) ) {
5555 let i = node . length ;
@@ -107,7 +107,7 @@ function diffNestedArrayProperty(
107107 updatePayload : null | Object ,
108108 prevArray : Array < NestedNode > ,
109109 nextArray : Array < NestedNode > ,
110- validAttributes : AttributeConfiguration < > ,
110+ validAttributes : AttributeConfiguration ,
111111) : null | Object {
112112 const minLength =
113113 prevArray . length < nextArray . length ? prevArray . length : nextArray . length ;
@@ -145,7 +145,7 @@ function diffNestedProperty(
145145 updatePayload : null | Object ,
146146 prevProp : NestedNode ,
147147 nextProp : NestedNode ,
148- validAttributes : AttributeConfiguration < > ,
148+ validAttributes : AttributeConfiguration ,
149149) : null | Object {
150150 if ( ! updatePayload && prevProp === nextProp ) {
151151 // If no properties have been added, then we can bail out quickly on object
@@ -206,7 +206,7 @@ function diffNestedProperty(
206206function addNestedProperty (
207207 updatePayload : null | Object ,
208208 nextProp : NestedNode ,
209- validAttributes : AttributeConfiguration < > ,
209+ validAttributes : AttributeConfiguration ,
210210) {
211211 if ( ! nextProp ) {
212212 return updatePayload ;
@@ -236,7 +236,7 @@ function addNestedProperty(
236236function clearNestedProperty (
237237 updatePayload : null | Object ,
238238 prevProp : NestedNode ,
239- validAttributes : AttributeConfiguration < > ,
239+ validAttributes : AttributeConfiguration ,
240240) : null | Object {
241241 if ( ! prevProp ) {
242242 return updatePayload ;
@@ -268,7 +268,7 @@ function diffProperties(
268268 updatePayload : null | Object ,
269269 prevProps : Object ,
270270 nextProps : Object ,
271- validAttributes : AttributeConfiguration < > ,
271+ validAttributes : AttributeConfiguration ,
272272) : null | Object {
273273 let attributeConfig ;
274274 let nextProp ;
@@ -369,13 +369,13 @@ function diffProperties(
369369 updatePayload ,
370370 prevProp ,
371371 nextProp ,
372- ( ( attributeConfig : any ) : AttributeConfiguration < > ) ,
372+ ( ( attributeConfig : any ) : AttributeConfiguration ) ,
373373 ) ;
374374 if ( removedKeyCount > 0 && updatePayload ) {
375375 restoreDeletedValuesInNestedArray (
376376 updatePayload ,
377377 nextProp ,
378- ( ( attributeConfig : any ) : AttributeConfiguration < > ) ,
378+ ( ( attributeConfig : any ) : AttributeConfiguration ) ,
379379 ) ;
380380 removedKeys = null ;
381381 }
@@ -426,7 +426,7 @@ function diffProperties(
426426 updatePayload = clearNestedProperty (
427427 updatePayload ,
428428 prevProp ,
429- ( ( attributeConfig : any ) : AttributeConfiguration < > ) ,
429+ ( ( attributeConfig : any ) : AttributeConfiguration ) ,
430430 ) ;
431431 }
432432 }
@@ -439,7 +439,7 @@ function diffProperties(
439439function addProperties (
440440 updatePayload : null | Object ,
441441 props : Object ,
442- validAttributes : AttributeConfiguration < > ,
442+ validAttributes : AttributeConfiguration ,
443443) : null | Object {
444444 // TODO: Fast path
445445 return diffProperties ( updatePayload , emptyObject , props , validAttributes ) ;
@@ -452,15 +452,15 @@ function addProperties(
452452function clearProperties (
453453 updatePayload : null | Object ,
454454 prevProps : Object ,
455- validAttributes : AttributeConfiguration < > ,
455+ validAttributes : AttributeConfiguration ,
456456) : null | Object {
457457 // TODO: Fast path
458458 return diffProperties ( updatePayload , prevProps , emptyObject , validAttributes ) ;
459459}
460460
461461export function create (
462462 props : Object ,
463- validAttributes : AttributeConfiguration < > ,
463+ validAttributes : AttributeConfiguration ,
464464) : null | Object {
465465 return addProperties (
466466 null , // updatePayload
@@ -472,7 +472,7 @@ export function create(
472472export function diff (
473473 prevProps : Object ,
474474 nextProps : Object ,
475- validAttributes : AttributeConfiguration < > ,
475+ validAttributes : AttributeConfiguration ,
476476) : null | Object {
477477 return diffProperties (
478478 null , // updatePayload
0 commit comments