console-app/lib/Options/PathOption.ts
Timo Hocker d9de76b188
All checks were successful
continuous-integration/drone/push Build is passing
use jasmine
2020-10-03 15:14:14 +02:00

17 lines
535 B
TypeScript

/*
* Copyright (C) Sapphirecode - All Rights Reserved
* This file is part of console-app which is released under MIT.
* See file 'LICENSE' for full license details.
* Created by Timo Hocker <timo@scode.ovh>, October 2020
*/
import { PathType } from '../TypeValidation/PathType';
import { TypeValidation } from '../TypeValidation/TypeValidation';
import { StringOption } from './StringOption';
export class PathOption extends StringOption {
protected get validation (): TypeValidation {
return new PathType ('path');
}
}