Fix: make tests pass #23
Annotations
10 errors
Run yarn typecheck:
packages/renderer/src/accountMetadata.tsx#L55
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ csv: string; ynab: string; json: string; googleSheets: string; discount: string; visaCal: string; hapoalim: string; hapoalimBeOnline: string; beinleumi: string; union: string; amex: string; isracard: string; ... 9 more ...; mercantile: string; }'.
|
Run yarn typecheck:
packages/renderer/src/accountMetadata.tsx#L114
Type 'string' is not assignable to type 'OutputVendorName | CompanyTypes'.
|
Run yarn typecheck:
packages/renderer/src/components/Body.tsx#L87
Type '{ children: Element; title: string; accounts: Exporter[]; isScraping: boolean; showModal: (account: Account, status: ModalStatus) => void; }' is not assignable to type 'IntrinsicAttributes & AccountsContainerProps'.
|
Run yarn typecheck:
packages/renderer/src/components/Body.tsx#L117
Type 'Account' is not assignable to type 'Importer'.
|
Run yarn typecheck:
packages/renderer/src/components/Body.tsx#L124
Type '(exporter: Exporter) => Promise<void>' is not assignable to type '(exporterConfig: YnabConfig | Exporter) => Promise<void>'.
|
Run yarn typecheck:
packages/renderer/src/components/Body.tsx#L125
Property 'options' is missing in type 'Account' but required in type 'Exporter'.
|
Run yarn typecheck:
packages/renderer/src/components/Body.tsx#L150
Argument of type 'null' is not assignable to parameter of type 'Account'.
|
Run yarn typecheck:
packages/renderer/src/components/GeneralSettings.tsx#L37
Argument of type 'string' is not assignable to parameter of type 'number'.
|
Run yarn typecheck:
packages/renderer/src/components/GeneralSettings.tsx#L48
Argument of type 'string' is not assignable to parameter of type 'number'.
|
Run yarn typecheck:
packages/renderer/src/components/accounts/CreateImporter.tsx#L35
Argument of type 'Account' is not assignable to parameter of type 'Importer'.
|
Loading