-
Notifications
You must be signed in to change notification settings - Fork 2.3k
chore(typescript): converting task files to typescript #2948
Conversation
* @param {object} task Task that is being reported. | ||
* @param {number} pid PID of process running the task. | ||
*/ | ||
constructor(task: any, pid: number) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can declare the property here as well, with private task: any
- now you don't need to declare it above, or assign the value below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
LG for typescript |
c5c36c1
to
ece9c02
Compare
Let's change the commit name to |
@@ -0,0 +1,159 @@ | |||
import ConfigParser, {Config} from './configParser'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should ConfigParser
be in the{}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or is this the default thing working as intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The class ConfigParser is labeled as the default and does not require {}
.
Looks good other than a couple questions. |
Reference feature request: #1203 |
Closed with commit 608104b |
No description provided.