You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Serializable type is currently a union that includes any, making the whole type any so it's untyped. The any should probably be object instead, as indicated by the original jsdoc type (which converts Object to any).
Generics could be used for classes, especially those that have state that can extend Serializable: entities and replicated data types. Type parameters can have defaults, so the previous behaviour can also be supported in the same way.
The text was updated successfully, but these errors were encountered:
This will also affect codegen, which should use the typed versions instead of the generated workaround that it has currently. Probably worthwhile updating some codegen things at the same time, such as using Reply. Could also affect the generated testkit.js, which should really be part of the SDK directly.
The
Serializable
type is currently a union that includesany
, making the whole typeany
so it's untyped. Theany
should probably beobject
instead, as indicated by the original jsdoc type (which convertsObject
toany
).Generics could be used for classes, especially those that have state that can extend
Serializable
: entities and replicated data types. Type parameters can have defaults, so the previous behaviour can also be supported in the same way.The text was updated successfully, but these errors were encountered: