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

Doc id type fix #103

Open
wants to merge 4 commits into
base: v8
Choose a base branch
from
Open

Doc id type fix #103

wants to merge 4 commits into from

Conversation

SrBrahma
Copy link

@SrBrahma SrBrahma commented Nov 11, 2021

Fixes #101.

As DocId class isn't used directly but only to be checked by instanceof, this prop is just to deal with TS so it won't treat {} as any non-nullish type, messing with keys of model as stated in the linked issue above.

@SrBrahma SrBrahma marked this pull request as ready for review November 11, 2021 19:31
@SrBrahma
Copy link
Author

The two problematic cases of the issue are fixed, as we can see:

Wont' accept any value on first param

image

Intellisense working when later params are filled

image

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

Successfully merging this pull request may close these issues.

1 participant