Skip to content

Commit

Permalink
Add type defitions for typescript. (#90)
Browse files Browse the repository at this point in the history
* Add type defitions for typescript.

* Update geckodriver.d.ts
  • Loading branch information
vladikoff committed Aug 5, 2021
1 parent 1d18599 commit 697c42a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/geckodriver.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/// <reference types="node" />

import { ChildProcess } from 'child_process';

export const path: string;
export const version: string;

export function start(args?: ReadonlyArray<string>): ChildProcess;

export function stop(): void;

export const defaultInstance: ChildProcess | undefined;

0 comments on commit 697c42a

Please sign in to comment.