mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Fix the tests and export interfaces
This commit is contained in:
1 parent
8f6b1c8718
commit
c8d2e04659
2 files changed
+3
-2
No files matched your search
@@ -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