Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find Reducer in index.d.ts #327

Open
emilieguth opened this issue Mar 4, 2021 · 0 comments
Open

Cannot find Reducer in index.d.ts #327

emilieguth opened this issue Mar 4, 2021 · 0 comments

Comments

@emilieguth
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant