Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typings for rrulestr #217

Merged
merged 2 commits into from
Jul 24, 2018
Merged

Conversation

kourge
Copy link
Contributor

@kourge kourge commented Jun 18, 2018

Fixes #216. The tzinfos option is left untyped because it is not used at all due to the lack of timezone support. (See #45.)

@Zizzamia Zizzamia requested a review from arolson101 June 19, 2018 00:33
index.d.ts Outdated
@@ -172,6 +172,18 @@ declare namespace RRule {

function fromString(value: string): RRule;

function rrulestr(s: string, options?: RRuleStrOptions): RRule;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One point: this might return an RRule OR an RRuleSet. So it might be better typed RRule | RRuleSet.

@davidgoli
Copy link
Collaborator

This is great! When can we expect it to be merged?

@arolson101 arolson101 merged commit 211dc3e into jkbrzt:master Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants