Skip to content

Commit d467603

Browse files
committed
fix settings definitions
1 parent 8b59a46 commit d467603

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lib/settings.d.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import { DateFormat, TimeFormat } from '../lib/types';
22

33
export interface Settings {
4-
dateFormat: DateFormat
5-
timeFormat: TimeFormat
6-
numeric: NumericSettings
4+
dateFormat?: DateFormat
5+
timeFormat?: TimeFormat
6+
numeric?: NumericSettings
77
}
88

99
export interface NumericSettings {
10-
groupSeparator: string
11-
decimalSeparator: string
12-
decimalPlaces: number
13-
sign: string
14-
signPos: 'left' | 'right'
15-
min: number
16-
max: number
10+
groupSeparator?: string
11+
decimalSeparator?: string
12+
decimalPlaces?: number
13+
sign?: string
14+
signPos?: 'left' | 'right'
15+
min?: number
16+
max?: number
1717
}
1818

0 commit comments

Comments
 (0)