Skip to content

Commit e404e46

Browse files
authored
Add type defitions for typescript. (#90)
* Add type defitions for typescript. * Update geckodriver.d.ts
1 parent ee4cd94 commit e404e46

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

lib/geckodriver.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/// <reference types="node" />
2+
3+
import { ChildProcess } from 'child_process';
4+
5+
export const path: string;
6+
export const version: string;
7+
8+
export function start(args?: ReadonlyArray<string>): ChildProcess;
9+
10+
export function stop(): void;
11+
12+
export const defaultInstance: ChildProcess | undefined;

0 commit comments

Comments
 (0)