Skip to content

Commit 15c695c

Browse files
committed
small fixes
1 parent 4596973 commit 15c695c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/validation-manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {FormGroup, FormControl, FormArray, FormBuilder, ValidatorFn} from "@angular/forms";
1+
import {FormGroup, FormControl, FormArray, FormBuilder, ValidatorFn, AbstractControl} from "@angular/forms";
22
import {Validators} from "./validators";
33

44

@@ -184,7 +184,7 @@ export class ValidationManager {
184184
return this.formGroup.value;
185185
}
186186

187-
getControl(controlName:string){
187+
getControl(controlName:string):AbstractControl{
188188
if(!this.formGroup.controls[controlName])
189189
return;
190190
return this.formGroup.controls[controlName];

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"e2e": "ng e2e",
3434
"build": "tsc --p tsconfig-build.json",
3535
"prepublish": "npm run build",
36-
"postpublish": "ng build --prod --base-href 'https://sabrio.github.io/ng2-validation-manager/' && ngh"
36+
"postpublish": "ng build --prod --base-href https://sabrio.github.io/ng2-validation-manager/ && ngh"
3737
},
3838
"private": false,
3939
"dependencies": {},

0 commit comments

Comments
 (0)