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

9 lines
264 B
TypeScript

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