Skip to content

index.d.ts in base folder is causing issue with TypeScript #44

Closed
@mwilc0x

Description

@mwilc0x

I installed latest ng-redux module and put it into my project using browserify + tsify (I'm using TypeScript). I've also included the type definitions from the DT repo.

When I include this lib in my project via import 'ng-redux', I get the following error:

Error TS2306: File `node_modules/ng-redux/index.d.ts` is not a module

If I move index.d.ts outside the folder, it will compile properly and include the lib in my project.

Is it possible to move this file into dist folder or another location?

BTW thanks for making this lib, it's very helpful when using redux with ng1!

Metadata

Metadata

Assignees

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