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

10 lines
309 B
TypeScript

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