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

15 lines
443 B
TypeScript

import { TypeValidation } from '../TypeValidation/TypeValidation';
import { StringOptionConfig } from '../SubConfigs';
import { BaseOption } from './BaseOption';
export class StringOption extends BaseOption<string> {
protected get validation ():TypeValidation {
return new TypeValidation ('string');
}
// eslint-disable-next-line no-useless-constructor
public constructor (config: StringOptionConfig) {
super (config);
}
}