Skip to content

Commit 81d3054

Browse files
[LW-10808] update TS and revert tsc command
1 parent eee3c3a commit 81d3054

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build:renderer": "yarn webpack -c source/renderer/webpack.config.js --progress",
1515
"build:cleanup": "rimraf ./dist",
1616
"build:electron": "./scripts/rebuild-native-modules.sh",
17-
"check:all": "yarn prettier:check && yarn lint && yarn stylelint && yarn i18n:manage && yarn storybook:build",
17+
"check:all": "yarn prettier:check && yarn lint && yarn compile && yarn stylelint && yarn i18n:manage && yarn storybook:build",
1818
"start": "yarn electron ./",
1919
"start:dev": "nodemon --watch 'dist/main' --exec 'NODE_ENV=development yarn start'",
2020
"test": "NODE_ENV=test yarn build && yarn test:unit && yarn test:e2e:fail-fast",
@@ -184,7 +184,7 @@
184184
"timemachine": "0.3.2",
185185
"transform-loader": "0.2.4",
186186
"typed-scss-modules": "5.0.0",
187-
"typescript": "4.6.2",
187+
"typescript": "4.9.5",
188188
"utf-8-validate": "5.0.2",
189189
"wait-on": "6.0.1",
190190
"webdriverio": "5.18.7",

source/main/utils/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const readLauncherConfig = (
6060
const inputYaml = configPath ? readFileSync(configPath, 'utf8') : '';
6161
const parsed = yamljs.parse(inputYaml);
6262
const finalYaml = recurseReplace(parsed);
63-
63+
// @ts-ignore
6464
if (finalYaml === null || finalYaml === []) {
6565
throw new Error('Daedalus requires a valid launcher config file to work');
6666
}

source/renderer/app/components/loading/syncing-connecting/SyncingConnectingStatus.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ export default class SyncingConnectingStatus extends Component<Props> {
223223
</h1>
224224
<div className={styles.description}>
225225
{connectingDescription && (
226+
// @ts-ignore
226227
<FormattedHTMLMessage {...connectingDescription} />
227228
)}
228229
</div>

source/renderer/app/components/notifications/LegacyNotification.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ class LegacyNotification extends Component<Props> {
108108
activeWalletName,
109109
..._values,
110110
};
111+
// @ts-ignore
111112
return <FormattedMessage {...message} values={values} />;
112113
};
113114

yarn.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17642,9 +17642,10 @@ typeforce@^1.18.0:
1764217642
version "1.18.0"
1764317643
resolved "https://registry.yarnpkg.com/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc"
1764417644

17645-
17646-
version "4.6.2"
17647-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.2.tgz#fe12d2727b708f4eef40f51598b3398baa9611d4"
17645+
17646+
version "4.9.5"
17647+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
17648+
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
1764817649

1764917650
typescript@^4.5, typescript@^4.5.3:
1765017651
version "4.6.4"

0 commit comments

Comments
 (0)