mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
format
This commit is contained in:
Vendored
+8
-4
@@ -7,9 +7,9 @@
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
import { EventEmitter } from 'events';
|
||||
import { Stream } from 'stream';
|
||||
import * as grpc from 'grpc';
|
||||
import { EventEmitter } from "events";
|
||||
import { Stream } from "stream";
|
||||
import * as grpc from "grpc";
|
||||
|
||||
type GrpcRequest =
|
||||
| grpc.ServerUnaryCall<any>
|
||||
@@ -30,7 +30,11 @@ declare class Mali extends EventEmitter {
|
||||
ports: ReadonlyArray<number>;
|
||||
silent: boolean;
|
||||
|
||||
addService(path: any, name: string | ReadonlyArray<string>, options?: any): void;
|
||||
addService(
|
||||
path: any,
|
||||
name: string | ReadonlyArray<string>,
|
||||
options?: any
|
||||
): void;
|
||||
use(service?: any, name?: any, fns?: any): void;
|
||||
start(port: number | string, creds?: any, options?: any): grpc.Server;
|
||||
toJSON(): any;
|
||||
|
||||
Reference in New Issue
Block a user