Skip to content

Commit

Permalink
chore(DateRange): null portion of interface is deprecated
Browse files Browse the repository at this point in the history
use undefined instead

ISSUES CLOSED: #1434
  • Loading branch information
shani-terminus authored and benjamincharity committed Apr 9, 2019
1 parent b82befc commit 8df86b3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions terminus-ui/date-range/src/date-range.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,17 @@ import { BehaviorSubject } from 'rxjs';

/**
* Define the structure of the date range object used by {@link TsDateRangeComponent}
*
* TODO: In the process of deprecating the `null` portion of this interface. It should be using
* `undefined` instead.
*
* Deprecation target: 10.0.0
*/
export interface TsDateRange {
/**
* The start date of the range
*/
start: Date | undefined | null;
start: Date | undefined;

/**
* The end date of the range
*/
end: Date | undefined | null;
end: Date | undefined;
}


Expand Down

0 comments on commit 8df86b3

Please sign in to comment.