19319: Add cost field to loadContainers select query to prevent clearing cost race...
[arvados-workbench2.git] / src / common / formatters.ts
index b16465127e96835ae8ac994fd080f1b878883461..1fbf17103941f2d7bf819a5a66940a51f832c515 100644 (file)
@@ -100,7 +100,7 @@ export const formatPropertyValue = (pv: PropertyValue, vocabulary?: Vocabulary)
     return "";
 };
 
-export const formatContainerCost = (cost: number) => {
+export const formatContainerCost = (cost: number): string => {
     const decimalPlaces = 3;
 
     const factor = Math.pow(10, decimalPlaces);