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

Is it possible to support typescript? #81

Open
feilongproject opened this issue Aug 7, 2022 · 1 comment
Open

Is it possible to support typescript? #81

feilongproject opened this issue Aug 7, 2022 · 1 comment

Comments

@feilongproject
Copy link

No description provided.

@lamweili
Copy link
Collaborator

lamweili commented Aug 8, 2022

Would you mind submitting a PR for this?
I'm rather tied up at the moment.

I would think adding a date-format.d.ts and making sure it's in package.json will do the trick. Yet I don't have the time to test it out.

types/date-format.d.ts

declare module "date-format" 

package.json

{
  "types": "./types/date-format.d.ts", 
} 

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

No branches or pull requests

2 participants