moment-timezone icon indicating copy to clipboard operation
moment-timezone copied to clipboard

Namespace '"*"' has no exported member 'MomentFormatSpecification'

Open manzajaro opened this issue 4 years ago • 4 comments

Hi,

I am doing a project in ionic 4, but it gives me all the time the image error when I compile.

import * as momentTz from 'moment-timezone';

"moment": "^2.26.0",
"moment-timezone": "^0.5.31",

image

Thanks

manzajaro avatar May 24 '20 18:05 manzajaro

Well the moment-timezone TS spec imports the moment TS spec and uses some interfaces. I don't really know what is supposed to happen, but other users are not complaining.

ichernev avatar Aug 26 '22 13:08 ichernev

@manzajaro if you can provide some simple steps to reproduce (i.e set up environment). You don't expect everybody on our team to know what ionic is and how to use it (assuming it still exists 2 years later :)).

ichernev avatar Aug 26 '22 13:08 ichernev