console-app/lib/Options/BooleanOption.ts

9 lines
255 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 BooleanOption extends BaseOption {
protected get validation ():TypeValidation {
return new TypeValidation ('boolean');
}
}