You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're right — we currently only have types defined for moment-timezone and moment-timezone/moment-timezone-utils, but not any of the other import paths. I'll take a look at adding some extra definition files.
If I import moment timezone with
import * as moment from 'moment-timezone';
I get all the required typings but all the data is preloaded. If I require only the 10 year range and I import like so
import moment from "moment-timezone/builds/moment-timezone-with-data-10-year-range"
I get only the data I want but no typings. Likewise if I import only the library with no data, I get no typings
import moment from 'moment-timezone/moment-timezone
The text was updated successfully, but these errors were encountered: