max
11/03/2017, 9:55 PMmoment
in their functions? I get the follow error: TypeError: moment_1.default is not a function
max
11/03/2017, 9:57 PMagartha
11/03/2017, 10:01 PMmax
11/03/2017, 10:03 PMimport moment from 'moment';
but I switched to import * as moment from 'moment';
and it worksmax
11/03/2017, 10:04 PMagartha
11/03/2017, 10:04 PMmax
11/03/2017, 10:04 PMimport moment from 'moment';
is kind of the default way of importing right?agartha
11/03/2017, 10:04 PMmax
11/03/2017, 10:04 PMmax
11/03/2017, 10:04 PMagartha
11/03/2017, 10:05 PMmax
11/03/2017, 10:05 PMagartha
11/03/2017, 10:05 PMmax
11/03/2017, 10:05 PMagartha
11/03/2017, 10:05 PMmax
11/03/2017, 10:05 PMmax
11/03/2017, 10:05 PMagartha
11/03/2017, 10:19 PMimport moment from 'moment-es6'
again.Tavo
11/04/2017, 3:51 PM