Skip to content

Conversation

@faustienf
Copy link
Contributor

@faustienf faustienf commented Apr 2, 2023

fixes #784

combine($store, 1, '2') should allow passing primitives, not only stores (docs)

image

image

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Apr 2, 2023

‼️ Deploy request for effector-docs rejected.

Name Link
🔨 Latest commit d78b790

@faustienf
Copy link
Contributor Author

faustienf commented Apr 2, 2023

I've found that the combine() tests don't have cases with primitives. I'll add a test case too.

p.s. done, added test case

@sergeysova sergeysova changed the title fix(784) combine typings, allow to pass primitives allow to pass primitives to combine Apr 3, 2023
@sergeysova sergeysova added the typings Typescript public type definitions issues label Apr 3, 2023
@AlexandrHoroshih AlexandrHoroshih merged commit 66bdab5 into effector:master Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typings Typescript public type definitions issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ts error when using combine with primitive values

3 participants