mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 00:13:45 -05:00
lint: patch typescript ignored issues (#6450)
* Updates across multiple packages * Release notes * Enhance error handling in budget goals reducer by throwing an error when the template is null
This commit is contained in:
committed by
GitHub
parent
b092681468
commit
4fc00ae7f1
@@ -1,7 +1,7 @@
|
||||
import { Transaction, Balance } from '../gocardless-node.types';
|
||||
import { type Transaction, type Balance } from '../gocardless-node.types';
|
||||
import {
|
||||
DetailedAccountWithInstitution,
|
||||
NormalizedAccountDetails,
|
||||
type DetailedAccountWithInstitution,
|
||||
type NormalizedAccountDetails,
|
||||
} from '../gocardless.types';
|
||||
|
||||
type TransactionExtended = Transaction & {
|
||||
@@ -12,7 +12,7 @@ type TransactionExtended = Transaction & {
|
||||
remittanceInformationStructuredArrayString?: string;
|
||||
};
|
||||
|
||||
export interface IBank {
|
||||
export type IBank = {
|
||||
institutionIds: string[];
|
||||
|
||||
/**
|
||||
@@ -48,4 +48,4 @@ export interface IBank {
|
||||
sortedTransactions: Transaction[],
|
||||
balances: Balance[],
|
||||
) => number;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import {
|
||||
GoCardlessAccountMetadata,
|
||||
GoCardlessAccountDetails,
|
||||
Institution,
|
||||
Transactions,
|
||||
Balance,
|
||||
Transaction,
|
||||
type GoCardlessAccountMetadata,
|
||||
type GoCardlessAccountDetails,
|
||||
type Institution,
|
||||
type Transactions,
|
||||
type Balance,
|
||||
type Transaction,
|
||||
} from './gocardless-node.types';
|
||||
|
||||
export type DetailedAccount = Omit<GoCardlessAccountDetails, 'status'> &
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { ServerOptions } from 'https';
|
||||
import { type ServerOptions } from 'https';
|
||||
|
||||
type LoginMethod = 'password' | 'header' | 'openid';
|
||||
|
||||
export interface Config {
|
||||
export type Config = {
|
||||
mode: 'test' | 'development';
|
||||
loginMethod?: LoginMethod;
|
||||
allowedLoginMethods: LoginMethod[];
|
||||
@@ -41,4 +41,4 @@ export interface Config {
|
||||
token_expiration?: 'never' | 'openid-provider' | number;
|
||||
enforceOpenId: boolean;
|
||||
userCreationMode?: 'manual' | 'login';
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user