Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jalali_moment__WEBPACK_IMPORTED_MODULE_1___namespace_cache is not a function #130

@merajseraji

Description

@merajseraji

Hi
I use jalali-momnet 3.3.11 in my angular project and I write this function in it. ( baseClassProject )
import * as moment from 'jalali-moment'; static currentDateTime() { return moment().format('jYYYY/jMM/jDD_HH:mm'); }
and then publish baseClassProject then I install the it in my main project and use this.currentDateTime() and I got this error:
image

angular 13.3.0
jalali-moment 3.3.11
can somebody help me ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions