File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/scala/io/scalajs/nodejs Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ trait Process extends IEventEmitter {
77
77
* Specifying a code to process.exit(code) will override any previous setting of process.exitCode.
78
78
* @example process.exitCode
79
79
*/
80
- def exitCode : Int = js.native
80
+ var exitCode : Int = js.native
81
81
82
82
/**
83
83
* TODO find documentation for this property
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ object Readable {
190
190
* flowing mode. Data will then be passed as soon as it is available.
191
191
*/
192
192
@ inline
193
- def onData (listener : Buffer | String | Any => Any ): readable.type = readable.on(" data" , listener)
193
+ def onData [ A ] (listener : A => Any ): readable.type = readable.on(" data" , listener)
194
194
195
195
/**
196
196
* This event fires when there will be no more data to read. Note that the 'end' event will not fire unless the
You can’t perform that action at this time.
0 commit comments