forked from pagopa/io-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: [IAI-189] Upgrade TypeScript to version
4.7
(pagopa#3963)
* Update TS to `4.6.3` * Solved `handleSearchUserSatispay` ts error * Fix `validCreditCard` ts type * Fix nested type error * Refactor the `Transaction` type to avoid refinements * Update typescript to `4.6.4` * Moved `IOTransaction` changes to `spec.json` * Restore useless change in `pagopa.ts` * Upgrade TypeScript to `4.7` * Add spec changelog Co-authored-by: fabriziofff <[email protected]>
- Loading branch information
1 parent
54cff66
commit d5ef1c9
Showing
10 changed files
with
88 additions
and
52 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ import { ProfileState } from "../../profile"; | |
import { GlobalState } from "../../types"; | ||
import { getSafeUnreadTransactionsNumSelector } from "../readTransactions"; | ||
|
||
const transactionsState: DeepPartial<GlobalState> = { | ||
const transactionsState = { | ||
wallet: { | ||
transactions: { | ||
transactions: pot.some({ | ||
|
@@ -25,7 +25,7 @@ const transactionsState: DeepPartial<GlobalState> = { | |
describe("readTransaction", () => { | ||
describe("getSafeUnreadTransactionsNumSelector", () => { | ||
it("should return the correct unread transaction number", () => { | ||
const state: DeepPartial<GlobalState> = { | ||
const state = { | ||
profile: pot.some({ | ||
is_email_validated: true, | ||
email: "[email protected]" | ||
|
@@ -41,7 +41,7 @@ describe("readTransaction", () => { | |
}); | ||
|
||
it("should return the 0 because the email is not validated", () => { | ||
const state: DeepPartial<GlobalState> = { | ||
const state = { | ||
profile: pot.some({ | ||
is_email_validated: false, | ||
email: "[email protected]" | ||
|
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