Skip to content

Commit

Permalink
Merge pull request #1007 from sandersn/move-eventemitter-inside-grpc-…
Browse files Browse the repository at this point in the history
…index.d.ts

Move EventEmitter inside declare module "grpc"
  • Loading branch information
murgatroid99 authored Aug 22, 2019
2 parents eef80c6 + d6866a8 commit 70233c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/grpc-native-core/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { EventEmitter } from "events";

/*
* Copyright 2019 gRPC authors.
Expand All @@ -18,7 +17,9 @@ import { EventEmitter } from "events";
*/

declare module "grpc" {
// add imports here, inside the "grpc" module, to keep it as an ambient module
import { Message, Service as ProtobufService } from "protobufjs";
import { EventEmitter } from "events";
import { Duplex, Readable, Writable } from "stream";
import { SecureContext } from "tls";

Expand Down

0 comments on commit 70233c6

Please sign in to comment.