console-app/lib/Options/ArrayOption.ts

9 lines
278 B
TypeScript
Raw Normal View History

2020-06-09 13:58:29 +02:00
import { TypeValidation } from '../TypeValidation/TypeValidation';
import { BaseOption } from './BaseOption';
2020-06-09 21:03:10 +02:00
export class ArrayOption extends BaseOption<(string|number|boolean)[]> {
2020-06-09 13:58:29 +02:00
protected get validation ():TypeValidation {
return new TypeValidation ('array');
}
}