diff --git a/jsonrpc/src/common/api.ts b/jsonrpc/src/common/api.ts index c07929db1..9c82b3d28 100644 --- a/jsonrpc/src/common/api.ts +++ b/jsonrpc/src/common/api.ts @@ -19,7 +19,7 @@ import { SharedArraySenderStrategy, SharedArrayReceiverStrategy } from './shared import { MessageReader, AbstractMessageReader, ReadableStreamMessageReader, DataCallback, MessageReaderOptions, PartialMessageInfo } from './messageReader'; import { MessageWriter, AbstractMessageWriter, WriteableStreamMessageWriter, MessageWriterOptions } from './messageWriter'; import { AbstractMessageBuffer } from './messageBuffer'; -import { ContentTypeEncoderOptions, ContentTypeDecoderOptions } from './encoding'; +import { ContentTypeEncoderOptions, ContentEncoder, ContentTypeEncoder, ContentTypeDecoderOptions, ContentDecoder, ContentTypeDecoder } from './encoding'; import { Logger, ConnectionStrategy, ConnectionOptions, MessageConnection, NullLogger, createMessageConnection, ProgressToken, ProgressType, HandlerResult, StarRequestHandler, GenericRequestHandler, @@ -56,7 +56,7 @@ export { // Export from abstract message buffer AbstractMessageBuffer, // Export from encodings - ContentTypeEncoderOptions, ContentTypeDecoderOptions, + ContentTypeEncoderOptions, ContentEncoder, ContentTypeEncoder, ContentTypeDecoderOptions,ContentDecoder, ContentTypeDecoder, // Export from connection Logger, ConnectionStrategy, ConnectionOptions, MessageConnection, NullLogger, createMessageConnection, ProgressToken, ProgressType, HandlerResult, StarRequestHandler, GenericRequestHandler,