ng-typesafe-formgroup
Version:
A ligthweight (just 19kb) Angular Reactive Form package that makes it's controls type safe and values asserted.
24 lines (19 loc) • 627 B
JavaScript
import { FormGroup, FormControl } from '@angular/forms';
class FormGroupTypeSafe extends FormGroup {
constructor(controls, validatorOrOpts, asyncValidator) {
super(controls, validatorOrOpts, asyncValidator);
}
}
class FormControlTypeSafe extends FormControl {
constructor(formState, validatorOrOpts, asyncValidator) {
super(formState, validatorOrOpts, asyncValidator);
}
}
/*
* Public API Surface of ng-typesafe-form-group
*/
/**
* Generated bundle index. Do not edit.
*/
export { FormControlTypeSafe, FormGroupTypeSafe };
//# sourceMappingURL=ng-typesafe-formgroup.mjs.map