Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Error Importing to Angular 6  #4

Description

@arsencenko

Hello Everyone,

I am trying to import json2excel in my angular component, everything works except it gives an error on import on component, i have tried like this :
import { json2excel } from 'js2excel';
or like this :
import * as json2excel from 'js2excel';

And gives me this error when i compile :
ERROR in src/app/components/dashboard/transitions/transition/transition.component.ts(14,10): error TS2305: Module '"/home/arsen/Downloads/frontend/node_modules/js2excel/types/index"' has no exported member 'json2excel'.

Thanks.

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