9 lines
259 B
TypeScript
9 lines
259 B
TypeScript
|
import { TypeValidation } from '../TypeValidation/TypeValidation';
|
||
|
import { BaseOption } from './BaseOption';
|
||
|
|
||
|
export class IntegerOption extends BaseOption<number> {
|
||
|
protected get validation ():TypeValidation {
|
||
|
return new TypeValidation ('int');
|
||
|
}
|
||
|
}
|