/* * 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 , October 2020 */ import { PathType } from '../TypeValidation/PathType'; import { TypeValidation } from '../TypeValidation/TypeValidation'; import { StringOption } from './StringOption'; export class FolderOption extends StringOption { protected get validation (): TypeValidation { return new PathType ('folder'); } }