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

Added TypeScript to make code base easier to maintain #35

Merged
merged 5 commits into from
Aug 8, 2019
Merged

Conversation

megoth
Copy link
Contributor

@megoth megoth commented Jul 22, 2019

No description provided.


/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
Copy link
Contributor

@Vinnl Vinnl Jul 23, 2019

Choose a reason for hiding this comment

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

It appears we don't have implicit any's anywhere, so I think it'd be better to turn this flag off.

Edit: oops, the flag is on; it's just that it's not necessary since it's implied by strict: true :)

Suggested change
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */

Copy link
Contributor

@Vinnl Vinnl left a comment

Choose a reason for hiding this comment

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

There are a lot of added optional keys added in package-lock.json, which is due to your using the npm from Node 12 instead of the one from Node 10 that was used previously. Could you either regenerate it with Node 10, or add an .nvmrc with 12 as its contents, indicating that everybody should be using that?

Also adding .nvmrc so it's easier to be consistent about being on the same version
@megoth
Copy link
Contributor Author

megoth commented Jul 23, 2019

@Vinnl I've added a .nvmrc file and regenerated package-lock.json with Node v8.16.0.

Adding prettier and Standard JS to maintain code base better
@megoth megoth merged commit 6e2a867 into master Aug 8, 2019
@megoth megoth deleted the typescript branch August 8, 2019 12:50
@megoth megoth mentioned this pull request Jan 8, 2020
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