I have this issue case where I need to import Decimal from decimal.js because I'm sending currency values back and forth between the frontend and the backend, and I wouldn't want to send strings instead, so, if I pass ts_type:"Decimal" I have this problem where the import does not happen anywhere in the file and the TS file is filled with linting errors and does not work at all.
Having a way to add custom imports would become handy to handle this sort of use cases.
I have this issue case where I need to import
Decimal
fromdecimal.js
because I'm sending currency values back and forth between the frontend and the backend, and I wouldn't want to send strings instead, so, if I passts_type:"Decimal"
I have this problem where the import does not happen anywhere in the file and the TS file is filled with linting errors and does not work at all.Having a way to add custom imports would become handy to handle this sort of use cases.