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

chore: specify types needed directly. #38

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

aboodman
Copy link
Contributor

I'm not sure getting them through v10 of Replicache was doing the right thing. When I install replicache-react and replicache v12 together in an app, I only see one version of replicache, v12. And replicache-react doesn't re-include the required types in its own .d.ts file. So unless tsc is being very fancy (which, I dunno, maybe it is) and getting the old version of replicache behind the scenes somehow, then I think this is using the wrong types.

Anyway, this is more direct way to do what was meant.

I'm not sure getting them through v10 of Replicache
was doing the right thing. When I install replicache-react and
replicache v12 together in an app, I only see one version of
replicache, v12. And replicache-react doesn't re-include the
required types in its own .d.ts file. So unless tsc is being
very fancy (which, I dunno, maybe it is) and getting the old
version of replicache behind the scenes somehow, then I think
this is using the wrong types.

Anyway, this is more direct way to do what was meant.
@aboodman aboodman marked this pull request as draft November 17, 2022 11:11
@arv
Copy link
Contributor

arv commented Nov 17, 2022

I like this. This looks like it should work.

@arv
Copy link
Contributor

arv commented Nov 22, 2022

Let's do this instead of #40

We can now remove the replicache deps

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

Successfully merging this pull request may close these issues.

2 participants