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:
Matiss Janis Aboltins
2025-12-19 23:40:28 +00:00
committed by GitHub
parent b092681468
commit 4fc00ae7f1
118 changed files with 429 additions and 428 deletions

View File

@@ -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;
}
};

View File

@@ -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'> &

View File

@@ -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';
}
};