Skip to content

Commit 5d90b63

Browse files
committed
fix(core): Use proper type in accessor
1 parent 781f009 commit 5d90b63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/ngqp/core/src/lib/accessors/checkbox-control-value-accessor.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class CheckboxControlValueAccessorDirective implements ControlValueAccess
2929
constructor(private renderer: Renderer2, private elementRef: ElementRef<HTMLInputElement>) {
3030
}
3131

32-
public writeValue(value: any) {
32+
public writeValue(value: boolean) {
3333
this.renderer.setProperty(this.elementRef.nativeElement, 'checked', value);
3434
}
3535

0 commit comments

Comments
 (0)