mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix the tests and export interfaces
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/// <reference path="protobuf.d.ts" />
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
import ProtoBuf = require("protobufjs");
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user