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

Typings #1

Closed
AndriiDidkivsky opened this issue Oct 4, 2018 · 1 comment
Closed

Typings #1

AndriiDidkivsky opened this issue Oct 4, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@AndriiDidkivsky
Copy link

Please add typings.

@prantlf prantlf self-assigned this Oct 6, 2018
@prantlf prantlf added enhancement New feature or request good first issue Good for newcomers labels Oct 6, 2018
@prantlf
Copy link
Owner

prantlf commented Oct 7, 2018

I added TypeScript typings in 0.1.3. It appears to be the best using the ES6 module-importing syntax:

import { formatToTimeZone } from 'date-fns-timezone'
import { formatToTimeZone } from 'date-fns-timezone/dist/formatToTimeZone'

Thanks for the idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants