ical-generator 4.1.0-develop.1 → 4.1.0-develop.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/event.ts +1 -1
- package/src/types.ts +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -371,7 +371,7 @@ interface ICalLuxonDateTimeStub {
|
|
|
371
371
|
toFormat(fmt: string): string;
|
|
372
372
|
toJSDate(): Date;
|
|
373
373
|
get isValid(): boolean;
|
|
374
|
-
toJSON(): string;
|
|
374
|
+
toJSON(): string | null;
|
|
375
375
|
}
|
|
376
376
|
interface ICalDayJsStub {
|
|
377
377
|
tz(zone?: string): ICalDayJsStub;
|
|
@@ -1393,7 +1393,7 @@ declare class ICalEvent {
|
|
|
1393
1393
|
*
|
|
1394
1394
|
* ```javascript
|
|
1395
1395
|
* import ical, {ICalEventBusyStatus} from 'ical-generator';
|
|
1396
|
-
* event.busystatus(
|
|
1396
|
+
* event.busystatus(ICalEventBusyStatus.BUSY);
|
|
1397
1397
|
* ```
|
|
1398
1398
|
*
|
|
1399
1399
|
* @since 1.0.2
|
package/dist/index.d.ts
CHANGED
|
@@ -371,7 +371,7 @@ interface ICalLuxonDateTimeStub {
|
|
|
371
371
|
toFormat(fmt: string): string;
|
|
372
372
|
toJSDate(): Date;
|
|
373
373
|
get isValid(): boolean;
|
|
374
|
-
toJSON(): string;
|
|
374
|
+
toJSON(): string | null;
|
|
375
375
|
}
|
|
376
376
|
interface ICalDayJsStub {
|
|
377
377
|
tz(zone?: string): ICalDayJsStub;
|
|
@@ -1393,7 +1393,7 @@ declare class ICalEvent {
|
|
|
1393
1393
|
*
|
|
1394
1394
|
* ```javascript
|
|
1395
1395
|
* import ical, {ICalEventBusyStatus} from 'ical-generator';
|
|
1396
|
-
* event.busystatus(
|
|
1396
|
+
* event.busystatus(ICalEventBusyStatus.BUSY);
|
|
1397
1397
|
* ```
|
|
1398
1398
|
*
|
|
1399
1399
|
* @since 1.0.2
|