Skip to content

Commit

Permalink
fix types and line break
Browse files Browse the repository at this point in the history
  • Loading branch information
focux committed Oct 21, 2019
1 parent 10b8014 commit 28a0b15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ declare module 'ical-generator' {
lastModified?: moment.Moment | Date;
description?: string;
location?: string;
appleLocation: AppleLocationData;
appleLocation?: AppleLocationData;
geo?: GeoData;
url?: string;
sequence?: number;
Expand Down
2 changes: 1 addition & 1 deletion src/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ class ICalEvent {
// APPLE LOCATION
if (this._data.appleLocation) {
g += 'X-APPLE-STRUCTURED-LOCATION;VALUE=URI;X-ADDRESS=' + ICalTools.escape(this._data.appleLocation.address) + ';X-APPLE-RADIUS=' + ICalTools.escape(this._data.appleLocation.radius) + ';X-TITLE=' + ICalTools.escape(this._data.appleLocation.title) +
'\r\n:geo:' + ICalTools.escape(this._data.appleLocation.geo.lat) + ',' + ICalTools.escape(this._data.appleLocation.geo.lon) + '\r\n';
':geo:' + ICalTools.escape(this._data.appleLocation.geo.lat) + ',' + ICalTools.escape(this._data.appleLocation.geo.lon) + '\r\n';
}

// GEO
Expand Down

0 comments on commit 28a0b15

Please sign in to comment.