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