ical-generator 6.0.1-develop.7 → 6.0.1-develop.9
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/README.md +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/event.ts +3 -3
package/package.json
CHANGED
package/src/event.ts
CHANGED
|
@@ -158,7 +158,7 @@ interface ICalEventInternalRepeatingData {
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
* Usually you get an `
|
|
161
|
+
* Usually you get an `ICalEvent` object like this:
|
|
162
162
|
* ```javascript
|
|
163
163
|
* import ical from 'ical-generator';
|
|
164
164
|
* const calendar = ical();
|
|
@@ -986,7 +986,7 @@ export default class ICalEvent {
|
|
|
986
986
|
|
|
987
987
|
|
|
988
988
|
/**
|
|
989
|
-
* Creates a new [[`ICalCategory`]] and returns it. Use options to prefill the
|
|
989
|
+
* Creates a new [[`ICalCategory`]] and returns it. Use options to prefill the category's attributes.
|
|
990
990
|
* Calling this method without options will create an empty category.
|
|
991
991
|
*
|
|
992
992
|
* ```javascript
|
|
@@ -994,7 +994,7 @@ export default class ICalEvent {
|
|
|
994
994
|
* const event = cal.createEvent();
|
|
995
995
|
* const category = event.createCategory({name: 'APPOINTMENT'});
|
|
996
996
|
*
|
|
997
|
-
* // add another
|
|
997
|
+
* // add another category
|
|
998
998
|
* event.createCategory({
|
|
999
999
|
* name: 'MEETING'
|
|
1000
1000
|
* });
|