Skip to content

Commit 7141760

Browse files
Merge pull request #16438 from IgniteUI/copilot/fix-daterange-picker-compile-error
Fix IgxDateRangePicker type incompatibility with strict TypeScript checks
2 parents e3b7f4b + 0e193be commit 7141760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -871,8 +871,8 @@ export class IgxDateRangePickerComponent extends PickerBaseDirective
871871
}
872872

873873
/** @hidden @internal */
874-
public getEditElement(): HTMLInputElement | undefined {
875-
return this.inputDirective?.nativeElement;
874+
public getEditElement(): HTMLInputElement {
875+
return this.inputDirective!.nativeElement;
876876
}
877877

878878
protected onStatusChanged = () => {

0 commit comments

Comments
 (0)