-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TS migration] Migrate 'ReportActionItemReportPreview.js' component to TypeScript #34374
Merged
jasperhuangg
merged 25 commits into
Expensify:main
from
VickyStash:ts-migration/reportActionItemReportPreview-component
Jan 29, 2024
Merged
Changes from 23 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
96ab013
[TS migration] Migrate 'ReportActionItemReportPreview.js' component
VickyStash 273406e
Reuse PaymentMethodType in other places
VickyStash cdd6480
Merge branch 'main' into ts-migration/reportActionItemReportPreview-c…
VickyStash ef8050c
Remove extra double negation, fix lint error
VickyStash a40a0ee
Merge branch 'main' into ts-migration/reportActionItemReportPreview-c…
VickyStash 449e691
TS fixes after merging main
VickyStash fdb6a9a
Merge branch 'main' into ts-migration/reportActionItemReportPreview-c…
VickyStash 23c94b6
Use ContextMenuAnchor type for anchor typing
VickyStash b2ca9a6
Fix lint error
VickyStash a53da9d
Fix lint error in import
VickyStash d24481a
Merge branch 'main' into ts-migration/reportActionItemReportPreview-c…
VickyStash ed8e47e
Fix ts error
VickyStash a0eb3c7
Merge branch 'main' into ts-migration/reportActionItemReportPreview-c…
VickyStash 2ccf45f
Update TransactionViolations type
VickyStash 48ccf59
Merge branch 'main' into ts-migration/reportActionItemReportPreview-c…
VickyStash 7910c46
TS fixes after merging main
VickyStash 1e4952b
Merge branch 'main' into ts-migration/reportActionItemReportPreview-c…
VickyStash 0110446
Fix TS issue
VickyStash ed0c95d
Update image typing
VickyStash 4fcb65b
Fix lint error
VickyStash 033aaa1
Fix lint error
VickyStash 2189e2f
Reuse ContextMenuAnchor type, use TranslationPaths type
VickyStash 6b5e775
Merge branch 'main' into ts-migration/reportActionItemReportPreview-c…
VickyStash e98645f
Merge branch 'main' into ts-migration/reportActionItemReportPreview-c…
VickyStash 1a7767b
Merge branch 'main' into ts-migration/reportActionItemReportPreview-c…
VickyStash File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
327 changes: 146 additions & 181 deletions
327
...ponents/ReportActionItem/ReportPreview.js → ...onents/ReportActionItem/ReportPreview.tsx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure about this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This type is used in TransactionViolations collection. And a collection of TransactionViolations is a collection of arrays, not objects
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is correct. Good catch!