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

Increases strictness of type checker. #12

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Conversation

MicahZoltu
Copy link
Contributor

There are a few minor changes here. I can split them up into multiple PRs if desired, but since they are all individually so tiny I figured it would be reasonable to throw them all into one.

Adds a check that ensures every function with a return statement returns from all code paths. There was one place where this wasn't happening, which was fixed.

Added node_modules and package-lock.json to .gitignore. I'm not sure why node_modules wasn't present.
I also added package-lock.json because I know the maintainers don't commit it, though I personally think it should be committed so builds are reliably reproducible.

Added vscode setting to use locally installed TS when using this project, rather than globally installed.

Adds a check that ensures every function with a return statement returns from all code paths.
There was one place where this wasn't happening, which was fixed.

Added `node_modules` and `package-lock.json` to `.gitignore`.
I'm not sure why `node_modules` wasn't present.
I also added `package-lock.json` because I know the maintainers don't commit it, though I personally think it should be committed so builds are reliably reproducible.

Added vscode setting to use locally installed TS when using this project, rather than globally installed.
@paulmillr
Copy link
Owner

I'm not sure why node_modules wasn't present.

I have global gitignore for that

@paulmillr paulmillr merged commit 2cb76b9 into paulmillr:main Feb 2, 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.

None yet

2 participants