Skip to content

Commit 1efd8b1

Browse files
committed
chore: export the TimeFormatterFactoryOptions interface
1 parent a9fa73f commit 1efd8b1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

giraffe/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@influxdata/giraffe",
3-
"version": "2.4.0",
3+
"version": "2.5.0",
44
"main": "dist/index.js",
55
"module": "src/index.js",
66
"license": "MIT",

giraffe/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export {
1010
binaryPrefixFormatter,
1111
siPrefixFormatter,
1212
timeFormatter,
13+
TimeFormatterFactoryOptions,
1314
} from './utils/formatters'
1415
export {getDomainDataFromLines} from './utils/lineData'
1516

giraffe/src/utils/formatters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ interface TimeFormatter extends Formatter {
102102
_GIRAFFE_FORMATTER_TYPE: FormatterType.Time
103103
}
104104

105-
interface TimeFormatterFactoryOptions {
105+
export interface TimeFormatterFactoryOptions {
106106
// BCP 47 language tag or "default"
107107
locale?: string
108108

0 commit comments

Comments
 (0)