console-app/lib/Options/PathOption.ts

10 lines
305 B
TypeScript
Raw Normal View History

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