Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.
This repository was archived by the owner on May 27, 2021. It is now read-only.

For moment js the code compile well, but in VS Code we get some red warning. #4

Description

@jayhuang75

We follow the guide and this example to add the moment libs:
[http://ionicframework.com/docs/v2/resources/third-party-libs/]

result: the code is well compile but in VS Code we have this kind of warning when we
import moment from 'moment';
[ts] Module '"/Users/z85603/Desktop/DEV/ionic-saver-v4/saverAp/node_modules/moment/moment"' has no default export.
import moment

When we try the same thing for underscore
import _ from 'underscore';
We get this warning:
[ts] Cannot find module 'underscore'.

Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions