Fix the tests and export interfaces

This commit is contained in:
Panu Horsmalahti
2015-01-02 15:48:06 +02:00
parent 8f6b1c8718
commit c8d2e04659
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
/// <reference path="protobuf.d.ts" />
/// <reference path="../node/node.d.ts" />
import ProtoBuf = require("protobufjs");
+2 -2
View File
@@ -4,11 +4,11 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module ProtoBuf {
interface IBuilder {
export interface IBuilder {
build: <T>() => T;
}
interface IProtoBufMessage {
export interface IProtoBufMessage {
toArrayBuffer(): ArrayBuffer;
toBuffer(): Buffer;
}