Skip to content

Commit

Permalink
stash - convert ui/selectors/selectors.js to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Dec 5, 2024
1 parent f36a70e commit f6cdb0b
Show file tree
Hide file tree
Showing 3 changed files with 433 additions and 313 deletions.
2 changes: 1 addition & 1 deletion app/scripts/controllers/account-tracker-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ type Account = {
export type AccountTrackerControllerState = {
accounts: Record<string, Account | Record<string, never>>;
currentBlockGasLimit: string;
accountsByChainId: Record<string, AccountTrackerControllerState['accounts']>;
accountsByChainId: Record<Hex, AccountTrackerControllerState['accounts']>;
currentBlockGasLimitByChainId: Record<Hex, string>;
};

Expand Down
2 changes: 1 addition & 1 deletion app/scripts/controllers/app-state-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export type AppStateControllerState = {
// prior to Migration 92.3 where we split out the setting to support
// multiple networks.
hadAdvancedGasFeesSetPriorToMigration92_3: boolean;
qrHardware: Json;
qrHardware: Json & { sign: { request: unknown } };
nftsDropdownState: Json;
surveyLinkLastClickedOrClosed: number | null;
signatureSecurityAlertResponses: Record<string, SecurityAlertResponse>;
Expand Down
Loading

0 comments on commit f6cdb0b

Please sign in to comment.