The **currency.d.ts** should be updated to also include `undefined` and `null` on `currency.Any`, because when passing those values it defaults to `0`. This code works fine, but TypeScript complains: `currency(null).add(undefined).value; // 0`
The currency.d.ts should be updated to also include
undefinedandnulloncurrency.Any, because when passing those values it defaults to0.This code works fine, but TypeScript complains:
currency(null).add(undefined).value; // 0