Problem with import moment-transport.js



I want to use moment.js with moment-transport.js. It works fine on debug mode in browser, but I can’t compile it:
ngc error: Error: Error at .tmp/pages/task-new/task-new.ts:103:21: Property 'transform' does not exist on type 'Moment'.

Here is my code:

import moment from 'moment';
import 'moment/src/locale/pl';
import 'moment-transform';
export class TaskNew {
getStart() {
    return moment().transform('YYYY-MM-DD +01:00:00.000').toISOString();

As I said - it works perfect, but IDE and ngc alert an error.
Should I declare that transform prototypy or sth?