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

10 lines
304 B
TypeScript

import { PathType } from '../TypeValidation/PathType';
import { TypeValidation } from '../TypeValidation/TypeValidation';
import { StringOption } from './StringOption';
export class FileOption extends StringOption {
protected get validation ():TypeValidation {
return new PathType ('file');
}
}