mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
546 B
TypeScript
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;
|