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

Fix for issue 41 - change Map to unknown #53

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pnowak
Copy link

@pnowak pnowak commented Feb 22, 2023

I'm not sure if this idea - #41 is taken into account, so I didn't complete the readme file.

I could update the readme if this feature will be accepted.

@mattpocock
Copy link
Collaborator

This feature makes sense, and I like it! Please add a readme, and some more tests to ensure that the current behaviour of Map is unaffected.

@pnowak
Copy link
Author

pnowak commented Feb 22, 2023

I added only more tests for now but in the last one, TS marked map.clear() with squiggly red lines.
Screenshot 2023-02-22 at 17 03 33

I'm not sure why.

@mattpocock
Copy link
Collaborator

Could you pull in main? I've fixed the CI so it should run on your branch now.

@pnowak
Copy link
Author

pnowak commented Feb 22, 2023

I did what you asked for.

Unfortunately without the expected result. I still have a TS underlined map.clear().
And running npm run ci not gave a clue of what is wrong.

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.

None yet

3 participants