2020-10-03 15:14:14 +02:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2020-07-19 11:41:06 +02:00
|
|
|
import { TypeValidation } from '../TypeValidation/TypeValidation';
|
|
|
|
import { BaseOption } from './BaseOption';
|
|
|
|
|
|
|
|
export class IntegerOption extends BaseOption<number> {
|
|
|
|
protected get validation ():TypeValidation {
|
|
|
|
return new TypeValidation ('int');
|
|
|
|
}
|
|
|
|
}
|