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 FileOption extends StringOption {
|
|
|
|
protected get validation ():TypeValidation {
|
|
|
|
return new PathType ('file');
|
|
|
|
}
|
|
|
|
}
|