File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- export const DEFAULT_BUTTON_COLUMNS = 6 ;
2
- export const DEFAULT_BUTTON_ROWS = 10 ;
1
+ const DEFAULT_BUTTON_COLUMNS = 6 ;
2
+ const DEFAULT_BUTTON_ROWS = 10 ;
3
3
4
4
export function clamp ( value : number , min : number , max : number ) : number {
5
5
return Math . min ( Math . max ( value , min ) , max ) ;
Original file line number Diff line number Diff line change 1
1
import type { Choices , ChoicesArray , ChoicesMap } from './types.js' ;
2
2
3
- export function choicesIsArray ( choices : Choices ) : choices is ChoicesArray {
3
+ function choicesIsArray ( choices : Choices ) : choices is ChoicesArray {
4
4
return Array . isArray ( choices ) ;
5
5
}
6
6
7
- export function choicesIsMap ( choices : Choices ) : choices is ChoicesMap {
7
+ function choicesIsMap ( choices : Choices ) : choices is ChoicesMap {
8
8
return choices instanceof Map ;
9
9
}
10
10
You can’t perform that action at this time.
0 commit comments