console-app/lib/Options/NumberOption.ts

9 lines
253 B
TypeScript
Raw Normal View History

2020-06-09 13:58:29 +02:00
import { TypeValidation } from '../TypeValidation/TypeValidation';
import { BaseOption } from './BaseOption';
export class NumberOption extends BaseOption {
protected get validation ():TypeValidation {
return new TypeValidation ('number');
}
}