Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Fix: unified-signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
SteelAlloy committed Oct 27, 2019
1 parent 3987dcc commit ed3cea2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/secure-rm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ export interface ParsedOptions extends Opts {
export type Callback = (err: NodeJS.ErrnoException | null, tree: string[]) => void

// Main function when secure-rm is called
export function remove(path: string): Promise<string[]>
export function remove(path: string, options: Options): Promise<string[]>
export function remove(path: string, options?: Options): Promise<string[]>
export function remove(path: string, callback: Callback): void
export function remove(path: string, options: Options, callback: Callback): void

Expand Down

0 comments on commit ed3cea2

Please sign in to comment.