Skip to content

Commit c649781

Browse files
committed
chore: fix
1 parent 3ca960e commit c649781

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/cubejs-client-core/src/format.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {format as d3Format, formatLocale, FormatLocaleDefinition, FormatLocaleObject} from 'd3-format';
1+
import { format as d3Format, formatLocale, FormatLocaleDefinition, FormatLocaleObject } from 'd3-format';
22
import { timeFormat } from 'd3-time-format';
33

44
import type { DimensionFormat, MeasureFormat, TCubeMemberType } from './types';
@@ -85,7 +85,9 @@ export type FormatValueMember = {
8585
};
8686

8787
export type FormatValueOptions = FormatValueMember & {
88+
/** Locale tag (e.g. 'en-US', 'de-DE', 'nl-NL'). Defaults to the runtime's locale via Intl.NumberFormat. */
8889
locale?: string,
90+
/** String to return for null/undefined values. Defaults to '∅'. */
8991
emptyPlaceholder?: string;
9092
};
9193

0 commit comments

Comments
 (0)