9 lines
278 B
TypeScript
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');
|
|
}
|
|
}
|