Fix broken definitions file (#6343)

This commit is contained in:
BrennanConroy 2019-01-14 18:46:07 -08:00 committed by GitHub
parent 80b77948da
commit a9b737b793
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

@ -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[] {

View File

@ -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.
*