Skip to content

Cannot find Reducer in index.d.ts #327

Open
@emilieguth

Description

Hello

This is a bug, reported using Typescript.

What is the current behavior?
It seems FirestoreReducer.Reducer doesn't exists with v0.15:

node_modules/redux-firestore/index.d.ts(122,4): error TS2304: Cannot find name 'Reducer'.
node_modules/redux-firestore/index.d.ts(122,29): error TS2694: Namespace '"/usr/app/node_modules/redux-firestore/index".FirestoreReducer' has no exported member 'State'.
node_modules/redux-firestore/index.d.ts(148,3): error TS1038: A 'declare' modifier cannot be used in an already ambient context.
node_modules/redux-firestore/index.d.ts(172,16): error TS2304: Cannot find name 'Listeners'.
node_modules/redux-firestore/index.d.ts(175,14): error TS2304: Cannot find name 'Data'.
node_modules/redux-firestore/index.d.ts(175,19): error TS2304: Cannot find name 'ReduxFirestoreQuerySetting'.
node_modules/redux-firestore/index.d.ts(175,49): error TS2304: Cannot find name 'Dictionary'.
node_modules/redux-firestore/index.d.ts(177,18): error TS2304: Cannot find name 'Dictionary'.
node_modules/redux-firestore/index.d.ts(178,19): error TS2304: Cannot find name 'Dictionary'.
node_modules/redux-firestore/index.d.ts(179,19): error TS2304: Cannot find name 'Dictionary'.

Which version of redux-firestore are you using? What about other dependencies?
v0.15

Which environments/browsers are affected by this issue? Did this work in previous versions or setups?
all versions are concerned, there is no such problem in v0.14.
It seems it comes from https://github.com/prescottprue/redux-firestore/pull/296/files

Thanks,
Émilie

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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