Closed dashed closed 9 years ago
Surprised it doesn't do this.
Pass in keyPath for swap andnext-animation-frame events to better match onChange?: (newValue: any, oldValue?: any, keyPath?: Array<any>) => any signature for Cursors: https://github.com/facebook/immutable-js/blob/7cd0bc61b6552e88626587be4ff4adc5a9759c5a/contrib/cursor/index.d.ts#L44-L57
keyPath
swap
next-animation-frame
onChange?: (newValue: any, oldValue?: any, keyPath?: Array<any>) => any
Will PR for this from my immstruct fork.
Fixed in 97e250a24c325f44e349fd18abcf3766d707e469
still missing keypath in 'next-animation-frame' event?
Surprised it doesn't do this.
Pass in
keyPath
forswap
andnext-animation-frame
events to better matchonChange?: (newValue: any, oldValue?: any, keyPath?: Array<any>) => any
signature for Cursors: https://github.com/facebook/immutable-js/blob/7cd0bc61b6552e88626587be4ff4adc5a9759c5a/contrib/cursor/index.d.ts#L44-L57