Open neko-para opened 1 year ago
With as const the typeof definition would keep the information of each method in type space, so that we can properly calculate on it.
as const
definition
Currently, the value of requestStream and responseStream are automatically widen into boolean.
requestStream
responseStream
With
as const
the typeofdefinition
would keep the information of each method in type space, so that we can properly calculate on it.Currently, the value of
requestStream
andresponseStream
are automatically widen into boolean.