15 lines
443 B
TypeScript
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);
|
|
}
|
|
}
|