Skip to content

Fix ES6 export in TypeScript definitions #177

Closed
@smrq

Description

@smrq

This commit broke importing this module from TypeScript: 0f9fe17#diff-b52768974e6bc0faccb7d4b75b162c99

The following TypeScript code should work:

import ngRedux from 'ng-redux';

After this commit, which removes the default export from the typings, this fails with the following error:

error TS1192: Module '"/path/to/node_modules/ng-redux/index"' has no default export.

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