You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current TypeScript typings mark the third parametre to the format function as required. However, as shown in the doc, it is clearly optional. It should be marked as optional in the TS typings as well.
In TS, in stead of writing:
format("# ###,#", 19.9, {});
I would like to be able to write:
format("# ###,#", 19.9);
The text was updated successfully, but these errors were encountered:
Current TypeScript typings mark the third parametre to the
format
function as required. However, as shown in the doc, it is clearly optional. It should be marked as optional in the TS typings as well.In TS, in stead of writing:
I would like to be able to write:
The text was updated successfully, but these errors were encountered: