Skip to content

Commit

Permalink
fixed typescript def for eventsource.event
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Dec 28, 2018
1 parent d874e65 commit ab15b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structs/event-source.ts
Expand Up @@ -28,8 +28,8 @@ export interface ExtendedEventSourceInput {
allDayDefault?: boolean
eventDataTransform?: EventInputTransformer

// array (TODO: how to move this to array-event-source?)
events?: EventInput[]
// array or function (TODO: move this to array-event-source/func-event-source?)
events?: EventInput[] | EventSourceFunc

// json feed (TODO: how to move this to json-feed-event-source?)
url?: string
Expand Down

0 comments on commit ab15b32

Please sign in to comment.