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

Args: Fix args inference for null values #13029

Merged
merged 3 commits into from
Nov 6, 2020
Merged

Conversation

shilman
Copy link
Member

@shilman shilman commented Nov 5, 2020

Issue: #12732

What I did

Fix default argType inference heuristic

How to test

See attached tests

@shilman
Copy link
Member Author

shilman commented Nov 6, 2020

self-merging @tmeasday

@shilman shilman merged commit b7472d7 into next Nov 6, 2020
@shilman shilman deleted the fix/default-argtypes-inference branch November 6, 2020 00:52
expect(store.getRawStory('a', '1').parameters.argTypes).toMatchInlineSnapshot(`
Object {
"a": Object {
"name": "a",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this example have a type?

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

Successfully merging this pull request may close these issues.

2 participants