mirror of https://github.com/grpc/grpc-node.git
grpc-js: don't export private symbol
The kChannel symbol was being exported due to a TypeScript issue. That issue has been resolved, so it seems OK to remove the export.
This commit is contained in:
parent
39de2334e3
commit
406c1d0a97
|
@ -24,9 +24,7 @@ import {ChannelOptions} from './channel-options';
|
|||
import {Status} from './constants';
|
||||
import {Metadata} from './metadata';
|
||||
|
||||
// This symbol must be exported (for now).
|
||||
// See: https://github.com/Microsoft/TypeScript/issues/20080
|
||||
export const kChannel = Symbol();
|
||||
const kChannel = Symbol();
|
||||
|
||||
export interface UnaryCallback<ResponseType> {
|
||||
(err: ServiceError|null, value?: ResponseType): void;
|
||||
|
|
Loading…
Reference in New Issue