console-app/lib/Options/NumberOption.ts
2020-06-09 21:07:55 +02:00

9 lines
261 B
TypeScript

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