10 lines
304 B
TypeScript
10 lines
304 B
TypeScript
import { PathType } from '../TypeValidation/PathType';
|
|
import { TypeValidation } from '../TypeValidation/TypeValidation';
|
|
import { StringOption } from './StringOption';
|
|
|
|
export class FileOption extends StringOption {
|
|
protected get validation ():TypeValidation {
|
|
return new PathType ('file');
|
|
}
|
|
}
|