mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-05 22:52:20 -05:00
fix build error with typescript v6 (#7524)
* fix tsconfig error * note * fix strict mode violation * fix another type issue
This commit is contained in:
@@ -1677,6 +1677,7 @@ class AccountInternal extends PureComponent<
|
||||
this.setState(state => ({
|
||||
sort: {
|
||||
...state.sort,
|
||||
field: headerClicked,
|
||||
ascDesc,
|
||||
},
|
||||
}));
|
||||
|
||||
@@ -186,9 +186,9 @@ export async function run() {
|
||||
) {
|
||||
console.log('OpenID configuration found. Preparing server to use it');
|
||||
try {
|
||||
const { error } = await bootstrap({ openId: openIdConfig }, true);
|
||||
if (error) {
|
||||
console.log(error);
|
||||
const result = await bootstrap({ openId: openIdConfig }, true);
|
||||
if ('error' in result && result.error) {
|
||||
console.log(result.error);
|
||||
} else {
|
||||
console.log('OpenID configured!');
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"resolveJsonModule": true,
|
||||
"downlevelIteration": true,
|
||||
// TODO: enable once every file is ts
|
||||
// "strict": true,
|
||||
"strictFunctionTypes": true,
|
||||
|
||||
6
upcoming-release-notes/7524.md
Normal file
6
upcoming-release-notes/7524.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfixes
|
||||
authors: [matt-fidd]
|
||||
---
|
||||
|
||||
Fix build error with typescript v6
|
||||
Reference in New Issue
Block a user