Skip to content

Commit

Permalink
Wasm. Fix compilation (#2449)
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky committed Aug 31, 2024
1 parent c3239da commit 809b00e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions kotlin-node/src/jsMain/generated/node/net/Socket.kt
Original file line number Diff line number Diff line change
Expand Up @@ -422,15 +422,15 @@ open external class Socket : node.stream.Duplex {
fun emit(event: SocketEvent.ERROR, err: JsError): Boolean
fun emit(
event: SocketEvent.LOOKUP,
err: JsError
err: JsError,
address: String,
family: String,
host: String,
): Boolean

fun emit(
event: SocketEvent.LOOKUP,
err: JsError
err: JsError,
address: String,
family: Double,
host: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ sealed external interface Process : EventEmitter {
fun emitWarning(warning: String, type: String = definedExternally, ctor: Function<*> = definedExternally): Unit

fun emitWarning(
warning: JsError
warning: JsError,
type: String = definedExternally,
ctor: Function<*> = definedExternally,
): Unit
Expand All @@ -379,10 +379,10 @@ sealed external interface Process : EventEmitter {
type: String = definedExternally,
code: String = definedExternally,
ctor: Function<*> = definedExternally,
): Unit
)

fun emitWarning(
warning: JsError
warning: JsError,
type: String = definedExternally,
code: String = definedExternally,
ctor: Function<*> = definedExternally,
Expand Down

0 comments on commit 809b00e

Please sign in to comment.