Skip to content

Commit

Permalink
chore: export the TimeFormatterFactoryOptions interface
Browse files Browse the repository at this point in the history
  • Loading branch information
TCL735 committed Mar 4, 2021
1 parent a9fa73f commit 1efd8b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion giraffe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@influxdata/giraffe",
"version": "2.4.0",
"version": "2.5.0",
"main": "dist/index.js",
"module": "src/index.js",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions giraffe/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export {
binaryPrefixFormatter,
siPrefixFormatter,
timeFormatter,
TimeFormatterFactoryOptions,
} from './utils/formatters'
export {getDomainDataFromLines} from './utils/lineData'

Expand Down
2 changes: 1 addition & 1 deletion giraffe/src/utils/formatters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ interface TimeFormatter extends Formatter {
_GIRAFFE_FORMATTER_TYPE: FormatterType.Time
}

interface TimeFormatterFactoryOptions {
export interface TimeFormatterFactoryOptions {
// BCP 47 language tag or "default"
locale?: string

Expand Down

0 comments on commit 1efd8b1

Please sign in to comment.