Files
factorio-clusterio/packages/lib
Hornwitser fc6e9d0002 Fix type checking on Request and Event types
When defining a generic type where a type argument is never used
as a part of the type itself, TypeScript will consider two instances of
the generic type with different values for the type to be the same.
This caused the handle method to accept any handler for any
Request/Event, ignoring the event/request type completely.

Fix by specifying the constructor to return the intersection of the type
itself and the Request/Event type.
2023-11-24 20:56:02 +01:00
..
2023-08-11 00:24:00 +02:00
2023-10-06 18:30:15 +01:00
2022-01-03 19:45:46 +01:00
2023-11-19 04:48:38 +01:00
2023-08-12 19:59:44 +02:00
2023-02-22 15:30:51 +01:00
2023-08-03 15:02:31 +02:00

Common Library for Clusterio

This package contains functionality shared between controller, host, ctl and/or plugins of Clusterio.

See the Clusterio repository for more information on Clusterio.