diff --git a/index.d.ts b/index.d.ts index e1dcb48..e05ec5f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,9 +1,9 @@ import { EventEmitter } from 'events' import { RequestInit } from 'node-fetch' -import puppeteer from 'puppeteer' import { ButtonSpec, FormattedButtonSpec } from './src/structures/Buttons' import { FormattedSectionSpec, SectionSpec } from './src/structures/List' +import * as puppeteer from 'puppeteer' declare namespace WAWebJS { @@ -401,10 +401,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, } /**