console-app/lib/Options/IntegerOption.ts
Timo Hocker 7ad999878a
All checks were successful
continuous-integration/drone/push Build is passing
fix for number input, new integer input
2020-07-19 11:41:06 +02:00

9 lines
259 B
TypeScript

import { TypeValidation } from '../TypeValidation/TypeValidation';
import { BaseOption } from './BaseOption';
export class IntegerOption extends BaseOption<number> {
protected get validation ():TypeValidation {
return new TypeValidation ('int');
}
}