-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
chore(js-ts): Convert app/core/Vault.js to TypeScript #11789
Open
devin-ai-integration
wants to merge
7
commits into
main
Choose a base branch
from
devin/convert-ts-app-core-Vault.js-10874
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
chore(js-ts): Convert app/core/Vault.js to TypeScript #11789
devin-ai-integration
wants to merge
7
commits into
main
from
devin/convert-ts-app-core-Vault.js-10874
+24
−21
Conversation
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
devin-ai-integration
bot
added
needs-dev-review
PR needs reviews from other engineers (in order to receive required approvals)
team-mobile-platform
No QA Needed
Apply this label when your PR does not need any QA effort.
labels
Oct 14, 2024
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
devin-ai-integration
bot
added
skip-sonar-cloud
Only used for bypassing sonar cloud when failures are not relevant to the changes.
Run Smoke E2E
Triggers smoke e2e on Bitrise
labels
Oct 14, 2024
Bitrise✅✅✅ Commit hash: dd6113c Note
|
Quality Gate failedFailed conditions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
needs-dev-review
PR needs reviews from other engineers (in order to receive required approvals)
No QA Needed
Apply this label when your PR does not need any QA effort.
Run Smoke E2E
Triggers smoke e2e on Bitrise
skip-sonar-cloud
Only used for bypassing sonar cloud when failures are not relevant to the changes.
team-ai
AI team (for the Devin AI bot)
team-mobile-platform
0 participants
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.
Description
This PR converts the file
app/core/Vault.js
to TypeScript (app/core/Vault.ts
). The conversion includes:for
loops tofor...of
loops where appropriateLedgerBridgeKeyringOptions
Changes Made
Vault.js
toVault.ts
any
types to more specific types where possibleunknown
types where necessary@metamask/keyring-controller
Notes
Some types remain as
unknown
or use type assertions due to the complexity of theKeyringController
and its methods. Further investigation into the@metamask/keyring-controller
package may be needed to fully type these areas.Testing
yarn lint:tsc
passes without errorsyarn lint
passes without errors (warnings are present but ignored as per instructions)Link to Devin run
https://preview.devin.ai/devin/f1d5b69e820749a3b70eea9f0b1d87a9
This Devin run was requested by naveen
If you have any feedback, you can leave comments in the PR and I'll address them in the app!