这是indexloc提供的服务,不要输入任何密码
Skip to content

exceptionDate should be optional in typescript #329

@anhnch

Description

@anhnch

As I look into the code, the exceptionDate option is actually not required. But the typescript types shows it as required. Not really a bug, but it's quite inconvenient. Is there a way to walk around this until the next release?

export interface Options {
  /** The start date of a recurring event's exception instance. Used for updating single event in a recurring series. */
  exceptionDate: ISODateString;
  /** iOS ONLY - If true the update will span all future events. If false it only update the single instance. */
  futureEvents?: boolean;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions