Skip to content

Commit d22df7f

Browse files
authored
Merge pull request #128 from Karankang007/master
Fixing typescript compilation errors
2 parents 94084cf + 3723209 commit d22df7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/multiselect-dropdown.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,15 +249,15 @@ export class MultiselectDropdown implements OnInit, DoCheck, ControlValueAccesso
249249
}
250250
}
251251

252-
validate(c: AbstractControl): { [key: string]: any; } {
252+
validate(_c: AbstractControl): { [key: string]: any; } {
253253
return (this.model && this.model.length) ? null : {
254254
required: {
255255
valid: false,
256256
},
257257
};
258258
}
259259

260-
registerOnValidatorChange(fn: () => void): void {
260+
registerOnValidatorChange(_fn: () => void): void {
261261
throw new Error('Method not implemented.');
262262
}
263263

@@ -275,7 +275,7 @@ export class MultiselectDropdown implements OnInit, DoCheck, ControlValueAccesso
275275
return this.model && this.model.indexOf(option.id) > -1;
276276
}
277277

278-
setSelected(event: Event, option: IMultiSelectOption) {
278+
setSelected(_event: Event, option: IMultiSelectOption) {
279279
if (!this.model) {
280280
this.model = [];
281281
}

0 commit comments

Comments
 (0)