mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix types for deprecated scrollTo fields
Summary: This was renamed in Flow but not in TS. Changelog: [General][Fixed] - Fix types for deprecated scrollTo fields Reviewed By: christophpurrer Differential Revision: D42040913 fbshipit-source-id: 5d9746be7b785bea8613f199d39940c4d5d7d138
This commit is contained in:
committed by
Riccardo Cipolleschi
parent
9b7618856f
commit
f9ab91c3ab
+2
-2
@@ -829,8 +829,8 @@ export class ScrollView extends ScrollViewBase {
|
||||
y?: number | undefined;
|
||||
animated?: boolean | undefined;
|
||||
},
|
||||
x?: number,
|
||||
animated?: boolean,
|
||||
deprecatedX?: number,
|
||||
deprecatedAnimated?: boolean,
|
||||
): void;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user