console-app/lib/Options/IntegerOption.ts

9 lines
259 B
TypeScript
Raw Normal View History

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