fix for number input, new integer input
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
8
lib/Options/IntegerOption.ts
Normal file
8
lib/Options/IntegerOption.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { TypeValidation } from '../TypeValidation/TypeValidation';
|
||||
import { BaseOption } from './BaseOption';
|
||||
|
||||
export class IntegerOption extends BaseOption<number> {
|
||||
protected get validation ():TypeValidation {
|
||||
return new TypeValidation ('int');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user