ical-generator 6.0.1-develop.6 → 6.0.1-develop.8

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.d.cts CHANGED
@@ -910,7 +910,7 @@ interface ICalEventInternalRepeatingData {
910
910
  startOfWeek?: ICalWeekday;
911
911
  }
912
912
  /**
913
- * Usually you get an `ICalCalendar` object like this:
913
+ * Usually you get an `ICalEvent` object like this:
914
914
  * ```javascript
915
915
  * import ical from 'ical-generator';
916
916
  * const calendar = ical();
@@ -1315,7 +1315,7 @@ declare class ICalEvent {
1315
1315
  */
1316
1316
  alarms(alarms: ICalAlarm[] | ICalAlarmData[]): this;
1317
1317
  /**
1318
- * Creates a new [[`ICalCategory`]] and returns it. Use options to prefill the categories' attributes.
1318
+ * Creates a new [[`ICalCategory`]] and returns it. Use options to prefill the category's attributes.
1319
1319
  * Calling this method without options will create an empty category.
1320
1320
  *
1321
1321
  * ```javascript
@@ -1323,7 +1323,7 @@ declare class ICalEvent {
1323
1323
  * const event = cal.createEvent();
1324
1324
  * const category = event.createCategory({name: 'APPOINTMENT'});
1325
1325
  *
1326
- * // add another alarm
1326
+ * // add another category
1327
1327
  * event.createCategory({
1328
1328
  * name: 'MEETING'
1329
1329
  * });
package/dist/index.d.ts CHANGED
@@ -910,7 +910,7 @@ interface ICalEventInternalRepeatingData {
910
910
  startOfWeek?: ICalWeekday;
911
911
  }
912
912
  /**
913
- * Usually you get an `ICalCalendar` object like this:
913
+ * Usually you get an `ICalEvent` object like this:
914
914
  * ```javascript
915
915
  * import ical from 'ical-generator';
916
916
  * const calendar = ical();
@@ -1315,7 +1315,7 @@ declare class ICalEvent {
1315
1315
  */
1316
1316
  alarms(alarms: ICalAlarm[] | ICalAlarmData[]): this;
1317
1317
  /**
1318
- * Creates a new [[`ICalCategory`]] and returns it. Use options to prefill the categories' attributes.
1318
+ * Creates a new [[`ICalCategory`]] and returns it. Use options to prefill the category's attributes.
1319
1319
  * Calling this method without options will create an empty category.
1320
1320
  *
1321
1321
  * ```javascript
@@ -1323,7 +1323,7 @@ declare class ICalEvent {
1323
1323
  * const event = cal.createEvent();
1324
1324
  * const category = event.createCategory({name: 'APPOINTMENT'});
1325
1325
  *
1326
- * // add another alarm
1326
+ * // add another category
1327
1327
  * event.createCategory({
1328
1328
  * name: 'MEETING'
1329
1329
  * });