Mark classes in typescript as private for docs (#15265)

This commit is contained in:
Brennan 2019-10-22 10:29:42 -07:00 committed by GitHub
parent 1ea47f119b
commit 99e79a0bb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 1 deletions

2
.github/CODEOWNERS vendored
View File

@ -19,4 +19,4 @@
/src/Servers/ @tratcher @jkotalik @anurse @halter73
/src/Middleware/Rewrite @jkotalik @anurse
/src/Middleware/HttpsPolicy @jkotalik @anurse
/src/SignalR/ @mikaelm12 @BrennanConroy @halter73 @anurse
/src/SignalR/ @BrennanConroy @halter73 @anurse

View File

@ -2,6 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Not exported from index.
/** @private */
export class BinaryMessageFormat {
// The length prefix of binary messages is encoded as VarInt. Read the comment in

View File

@ -6,6 +6,7 @@
import { HttpClient, HttpResponse } from "./HttpClient";
import { ILogger } from "./ILogger";
/** @private */
export class NodeHttpClient extends HttpClient {
// @ts-ignore: Need ILogger to compile, but unused variables generate errors
public constructor(logger: ILogger) {

View File

@ -547,6 +547,7 @@ function transportMatches(requestedTransport: HttpTransportType | undefined, act
return !requestedTransport || ((actualTransport & requestedTransport) !== 0);
}
/** @private */
export class TransportSendQueue {
private buffer: any[] = [];
private sendBufferedData: PromiseSource;

View File

@ -17,6 +17,7 @@ if (typeof XMLHttpRequest === "undefined") {
requestModule = requireFunc("request");
}
/** @private */
export class NodeHttpClient extends HttpClient {
private readonly logger: ILogger;
private readonly request: typeof requestModule;

View File

@ -3,8 +3,10 @@
// Not exported from index
/** @private */
export type EventSourceConstructor = new(url: string, eventSourceInitDict?: EventSourceInit) => EventSource;
/** @private */
export interface WebSocketConstructor {
new(url: string, protocols?: string | string[], options?: any): WebSocket;
readonly CLOSED: number;