I am trying to use moment in my TypeScript project but when I use the line,
import moment from \'moment\';
I get the error:
The correct syntax is:
import * as moment from 'moment';