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

Nullable fromObject argument #162

Closed
wants to merge 14 commits into from

Conversation

Santalov
Copy link

The data argument of fromObject method became nullable, so it matches the constructor declaration. It also made enabling tsconfig option noUnusedParameters by default in all tests, cos the data argument is always used in the if statement.

This is an ambiguous change, previously discussed here

The fromObject argument became nullable and it confilcts with the name of the method suggesting there should be an object. But making it nullable makes fromObject more similar to the constructor.

@thesayyn
Copy link
Owner

thesayyn commented Sep 1, 2023

Closing as there's been no activity on this.

1 similar comment
@thesayyn
Copy link
Owner

thesayyn commented Sep 1, 2023

Closing as there's been no activity on this.

@thesayyn thesayyn closed this Sep 1, 2023
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.

2 participants