console-app/lib/Options/FileOption.ts

9 lines
237 B
TypeScript
Raw Normal View History

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