Fix broken definitions file (#6343)
This commit is contained in:
parent
80b77948da
commit
a9b737b793
|
|
@ -27,6 +27,7 @@ Later on, this will be checked using this condition:
|
|||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(VersionPrefix)' == '2.2.2' ">
|
||||
<PackagesInPatch>
|
||||
@aspnet/signalr;
|
||||
</PackagesInPatch>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ export class MessagePackHubProtocol implements IHubProtocol {
|
|||
|
||||
/** Creates an array of HubMessage objects from the specified serialized representation.
|
||||
*
|
||||
* @param {ArrayBuffer | Buffer} input An ArrayBuffer containing the serialized representation.
|
||||
* @param {ArrayBuffer | Buffer} input An ArrayBuffer or Buffer containing the serialized representation.
|
||||
* @param {ILogger} logger A logger that will be used to log messages that occur during parsing.
|
||||
*/
|
||||
public parseMessages(input: ArrayBuffer | Buffer, logger: ILogger): HubMessage[] {
|
||||
|
|
|
|||
|
|
@ -150,10 +150,10 @@ export interface IHubProtocol {
|
|||
*
|
||||
* If {@link @aspnet/signalr.IHubProtocol.transferFormat} is 'Text', the `input` parameter must be a string, otherwise it must be an ArrayBuffer.
|
||||
*
|
||||
* @param {string | ArrayBuffer} input A string, or ArrayBuffer containing the serialized representation.
|
||||
* @param {string | ArrayBuffer | Buffer} input A string, ArrayBuffer, or Buffer containing the serialized representation.
|
||||
* @param {ILogger} logger A logger that will be used to log messages that occur during parsing.
|
||||
*/
|
||||
parseMessages(input: string | ArrayBuffer, logger: ILogger): HubMessage[];
|
||||
parseMessages(input: string | ArrayBuffer | Buffer, logger: ILogger): HubMessage[];
|
||||
|
||||
/** Writes the specified {@link @aspnet/signalr.HubMessage} to a string or ArrayBuffer and returns it.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue