diff --git a/index.d.ts b/index.d.ts index edf4684..76ac264 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,7 +1,7 @@ import { EventEmitter } from 'events' import { RequestInit } from 'node-fetch' -import puppeteer from 'puppeteer' +import * as puppeteer from 'puppeteer' declare namespace WAWebJS { @@ -399,10 +399,10 @@ declare namespace WAWebJS { * Remote store interface */ export interface Store { - sessionExists: ({session: string}) => Promise | boolean, - delete: ({session: string}) => Promise | any, - save: ({session: string}) => Promise | any, - extract: ({session: string, path: string}) => Promise | any, + sessionExists: (options: { session: string }) => Promise | boolean, + delete: (options: { session: string }) => Promise | any, + save: (options: { session: string }) => Promise | any, + extract: (options: { session: string, path: string }) => Promise | any, } /**