mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Mark scrollToEnd animated as optional
Summary: The flow type and inheriting TS types mark animated as optional, mark it here as well. Changelog: [General][Fixed] - Mark scrollToEnd animated as optional Reviewed By: christophpurrer Differential Revision: D42036647 fbshipit-source-id: 59d408adc639ee1e0ca040301511c64d7ba55bfe
This commit is contained in:
committed by
Riccardo Cipolleschi
parent
754524ea9d
commit
8770b2724a
+1
-1
@@ -841,7 +841,7 @@ export class ScrollView extends ScrollViewBase {
|
||||
* The options object has an animated prop, that enables the scrolling animation or not.
|
||||
* The animated prop defaults to true
|
||||
*/
|
||||
scrollToEnd(options?: {animated: boolean}): void;
|
||||
scrollToEnd(options?: {animated?: boolean}): void;
|
||||
|
||||
/**
|
||||
* Displays the scroll indicators momentarily.
|
||||
|
||||
Reference in New Issue
Block a user