DefinitelyTyped/types/local-dynamo/index.d.ts
2017-10-17 12:57:44 -07:00

21 lines
546 B
TypeScript

// Type definitions for local-dynamo 0.5
// Project: https://github.com/Medium/local-dynamo
// Definitions by: Matt Rollins <https://github.com/Sicilica>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>
import { ChildProcess } from 'child_process';
export interface Options {
port: number;
dir?: string;
heap?: string;
detached?: boolean;
stdio?: string;
cors?: string|string[];
sharedDb?: boolean;
}
export function launch(options?: Options|string, port?: number): ChildProcess;