fixes types
This commit is contained in:
parent
33ebdaac84
commit
23c1e6080a
@ -51,7 +51,7 @@ class Server {
|
|||||||
} else {
|
} else {
|
||||||
this.registerCustom(
|
this.registerCustom(
|
||||||
eventName,
|
eventName,
|
||||||
callback as RageFW_ServerEventCallbackCustom,
|
callback as unknown as RageFW_ServerEventCallbackCustom,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -69,7 +69,7 @@ class Server {
|
|||||||
} else {
|
} else {
|
||||||
this.registerCustom(
|
this.registerCustom(
|
||||||
eventName as keyof RageFW_ICustomServerEvent,
|
eventName as keyof RageFW_ICustomServerEvent,
|
||||||
callback as RageFW_ServerEventCallbackCustom,
|
callback as unknown as RageFW_ServerEventCallbackCustom,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user