console-app/lib/Options/FolderOption.ts

9 lines
241 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 FolderOption extends StringOption {
protected get validation ():TypeValidation {
return new PathType ('folder');
}
}