console-app/lib/Options/ArrayOption.ts
2020-06-09 21:07:55 +02:00

9 lines
278 B
TypeScript

import { TypeValidation } from '../TypeValidation/TypeValidation';
import { BaseOption } from './BaseOption';
export class ArrayOption extends BaseOption<(string|number|boolean)[]> {
protected get validation ():TypeValidation {
return new TypeValidation ('array');
}
}