refactor: no import star (#297)

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
This commit is contained in:
Grant Timmerman 2020-07-31 13:21:19 -07:00 committed by GitHub
parent 48d182bc5f
commit 31c200592f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View File

@ -3,7 +3,9 @@ import { ValidationError } from "./event/validation";
// import {Version} from './event/'
import { CloudEventV03, CloudEventV03Attributes, CloudEventV1, CloudEventV1Attributes } from "./event/interfaces";
import { Emitter, Receiver, Mode, Protocol, TransportOptions } from "./transport";
import { Emitter, TransportOptions } from "./transport/emitter";
import { Receiver, Mode } from "./transport/receiver";
import { Protocol } from "./transport/protocols";
import { Headers, headersFor } from "./transport/http/headers";
export {

View File

@ -1,6 +1,6 @@
import { CloudEvent } from "../event/cloudevent";
import { emitBinary, emitStructured } from "./http";
import { Protocol } from ".";
import { Protocol } from "./protocols";
import { AxiosResponse } from "axios";
import { Agent } from "http";

View File

@ -1,4 +0,0 @@
export * from "./emitter";
export * from "./receiver";
export * as http from "./http/headers";
export * from "./protocols";