Skip to content

Commit

Permalink
Fix: Update TypeScript types after replacing Lodash with dlv
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Sep 25, 2017
1 parent 1b65038 commit 1cf0d60
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
type Address = string | string[];

interface Options {
maxItems?: number,
}

declare module 'q-i' {
declare function print(object: any, options?: Options) : void;
declare function print(object: any, addr?: Address, options?: Options) : void;
declare function print(object: any, addr?: string, options?: Options) : void;
declare function stringify(object: any, options?: Options) : string;
declare function stringify(object: any, addr?: Address, options?: Options) : string;
declare function stringify(object: any, addr?: string, options?: Options) : string;
}

0 comments on commit 1cf0d60

Please # to comment.