Skip to content

Commit a9b737b

Browse files
Fix broken definitions file (#6343)
1 parent 80b7794 commit a9b737b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

eng/PatchConfig.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Later on, this will be checked using this condition:
2727
</PropertyGroup>
2828
<PropertyGroup Condition=" '$(VersionPrefix)' == '2.2.2' ">
2929
<PackagesInPatch>
30+
@aspnet/signalr;
3031
</PackagesInPatch>
3132
</PropertyGroup>
3233

src/SignalR/clients/ts/signalr-protocol-msgpack/src/MessagePackHubProtocol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class MessagePackHubProtocol implements IHubProtocol {
2727

2828
/** Creates an array of HubMessage objects from the specified serialized representation.
2929
*
30-
* @param {ArrayBuffer | Buffer} input An ArrayBuffer containing the serialized representation.
30+
* @param {ArrayBuffer | Buffer} input An ArrayBuffer or Buffer containing the serialized representation.
3131
* @param {ILogger} logger A logger that will be used to log messages that occur during parsing.
3232
*/
3333
public parseMessages(input: ArrayBuffer | Buffer, logger: ILogger): HubMessage[] {

src/SignalR/clients/ts/signalr/src/IHubProtocol.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ export interface IHubProtocol {
150150
*
151151
* If {@link @aspnet/signalr.IHubProtocol.transferFormat} is 'Text', the `input` parameter must be a string, otherwise it must be an ArrayBuffer.
152152
*
153-
* @param {string | ArrayBuffer} input A string, or ArrayBuffer containing the serialized representation.
153+
* @param {string | ArrayBuffer | Buffer} input A string, ArrayBuffer, or Buffer containing the serialized representation.
154154
* @param {ILogger} logger A logger that will be used to log messages that occur during parsing.
155155
*/
156-
parseMessages(input: string | ArrayBuffer, logger: ILogger): HubMessage[];
156+
parseMessages(input: string | ArrayBuffer | Buffer, logger: ILogger): HubMessage[];
157157

158158
/** Writes the specified {@link @aspnet/signalr.HubMessage} to a string or ArrayBuffer and returns it.
159159
*

0 commit comments

Comments
 (0)