Skip to content

Commit

Permalink
Fix types for deprecated scrollTo fields
Browse files Browse the repository at this point in the history
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
  • Loading branch information
NickGerleman authored and facebook-github-bot committed Dec 14, 2022
1 parent 2c2cb09 commit 0d09131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/Components/ScrollView/ScrollView.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -829,8 +829,8 @@ export class ScrollView extends ScrollViewBase {
y?: number | undefined;
animated?: boolean | undefined;
},
x?: number,
animated?: boolean,
deprecatedX?: number,
deprecatedAnimated?: boolean,
): void;

/**
Expand Down

0 comments on commit 0d09131

Please sign in to comment.