Skip to content

Commit

Permalink
Add version to source()
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbo2002 committed May 24, 2021
1 parent 86ba0dd commit ff725cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,8 @@ export default class ICalCalendar {


/**
* Get current value of the `SOURCE` attribute.
* @since 0.x.x
* Get current value of the `SOURCE` attribute.
* @since 2.2.0-develop.1
*/
source(): string | null;

Expand All @@ -363,7 +363,7 @@ export default class ICalCalendar {
* cal.source('http://example.com/my/original_source.ical');
* ```
*
* @since 0.x.x
* @since 2.2.0-develop.1
*/
source(source: string | null): this;
source(source?: string | null): this | string | null {
Expand Down

0 comments on commit ff725cc

Please sign in to comment.