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

Make config/opts params optional and nullable #57

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

AlexBeauchemin
Copy link
Contributor

Make all params optional so using {} as the config object is valid
Also make the setup config nullable
This shouldn't change anything in terms of functionality, but make the types closer to the actual behavior (opts can be null and every prop is optional)

Before

image

After

image

Copy link
Owner

@dmmulroy dmmulroy left a comment

Choose a reason for hiding this comment

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

Thank you!

@dmmulroy dmmulroy merged commit 82c37eb into dmmulroy:main Aug 14, 2024
1 check passed
AlexBeauchemin added a commit to AlexBeauchemin/tsc.nvim that referenced this pull request Nov 21, 2024
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