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

adding default to exports for ES6 and updating TS definitions #113

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

riley-stroud-ck
Copy link
Contributor

removing anys

@hustcc
Copy link
Owner

hustcc commented Mar 1, 2017

Thank you very much.

(nowDate: string): TimeAgoConstructor;
(nowDate: string, defaultLocale: string): TimeAgoConstructor;
register(locale: string, localeFunc: Function): void;

the defaultLocale and nowDate also can be timestamp or Date instance.

@hustcc hustcc merged commit 61b4d34 into hustcc:master Mar 1, 2017
@hustcc
Copy link
Owner

hustcc commented Mar 1, 2017

fixed #105

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.

2 participants