Skip to content

[server] Define a propoer formatCurrency method for type Account (fixes a TS error).

Antoine requested to merge ZeHiro/kresus:currency-formater into master

This MR fixes the following typescript error:

server/lib/report-manager.js:79:15 - error TS2339: Property 'formatCurrency' does not exist on type 'Account'.

79             a.formatCurrency = await a.getCurrencyFormatter();
Edited by Antoine

Merge request reports

Loading