Skip to content

Conversation

@Linkgoron
Copy link

TypeScript is an open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript, and adds optional static typing to the language.

Typescript is very robust, and this will really improve the code quality in this repository.

Copy link

@MoLow MoLow left a comment

Choose a reason for hiding this comment

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

Super duper important

@@ -0,0 +1,12 @@
{
"requires": true,
"lockfileVersion": 1,

Choose a reason for hiding this comment

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

Suggested change
"lockfileVersion": 1,
"loackerfileVersion": 1,

}
else {
n = parseInt(queryData.num);
let n = parseInt(queryData.num);
Copy link
Owner

Choose a reason for hiding this comment

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

Please define a custom type for n

Copy link
Author

Choose a reason for hiding this comment

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

done

}
else {
n = parseInt(queryData.num);
let n:number = parseInt(queryData.num);
Copy link
Owner

Choose a reason for hiding this comment

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

Please extract parseInt to a function to better encapsulate how to parse ints.

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.

4 participants