- Atualizar imports em todos os arquivos que usavam os nomes antigos - Corrigir referências para preferenciasUsuario, insightsSalvos, tokensApi, preLancamentos, antecipacoesParcelas, compartilhamentosPagador
12 lines
286 B
TypeScript
12 lines
286 B
TypeScript
|
|
|
|
import { calculatePercentageChange } from "@/lib/utils/math";
|
|
import { safeToNumber } from "@/lib/utils/number";
|
|
|
|
export { safeToNumber, calculatePercentageChange };
|
|
|
|
/**
|
|
* Alias for backward compatibility - dashboard uses "toNumber" naming
|
|
*/
|
|
export const toNumber = safeToNumber;
|