-
Notifications
You must be signed in to change notification settings - Fork 26
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
[Typescript] Suporte #5
Comments
This comment was marked as spam.
This comment was marked as spam.
Still working on it, will support typescript and many more functionalities like infinite scroll and seconds too |
Yes it needs the Types file (t.ds). Won't work without it. |
I am getting the following error when implementing 'use12Hours' prop on this component in a JSX file but in a project that has TypeScript. Works fine without the 'use12Hours' prop. Any ideas how to get this to work? Component Code Also doesn't work Error Here is my declaration.d.ts file |
Hi @Entropiks, you may need to check the value and set it like this "12:00 AM" it needs to have the hour format AM or PM to work, and the typescript version is already in the way with also a lot of changes to come |
This fixed the issue, thank you! Great component. |
Any update on the Typescript? I have been using a different plugin but would prefer yours. |
This! |
You are not supporting typescript. You must do so or not show in your file that you do so.
The text was updated successfully, but these errors were encountered: