diff --git a/protobuf/protobuf-tests.ts b/protobuf/protobuf-tests.ts index 7b910d380..077522900 100644 --- a/protobuf/protobuf-tests.ts +++ b/protobuf/protobuf-tests.ts @@ -1,4 +1,5 @@ /// +/// import ProtoBuf = require("protobufjs"); diff --git a/protobuf/protobuf.d.ts b/protobuf/protobuf.d.ts index bbd4736c8..5e758e7a4 100644 --- a/protobuf/protobuf.d.ts +++ b/protobuf/protobuf.d.ts @@ -4,11 +4,11 @@ // Definitions: https://github.com/borisyankov/DefinitelyTyped declare module ProtoBuf { - interface IBuilder { + export interface IBuilder { build: () => T; } - interface IProtoBufMessage { + export interface IProtoBufMessage { toArrayBuffer(): ArrayBuffer; toBuffer(): Buffer; }