From 9bfea7847e4e2d5f94d9e75c2972f7580751ecd9 Mon Sep 17 00:00:00 2001 From: purpshell Date: Tue, 23 Aug 2022 20:54:01 +0300 Subject: [PATCH] types --- index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index f02acc9..e1dcb48 100644 --- a/index.d.ts +++ b/index.d.ts @@ -3,6 +3,7 @@ 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' declare namespace WAWebJS { @@ -1333,11 +1334,11 @@ declare namespace WAWebJS { export class List { body: string buttonText: string - sections: Array + sections: Array title?: string | null footer?: string | null - constructor(body: string, buttonText: string, sections: Array, title?: string | null, footer?: string | null) + constructor(body: string, buttonText: string, sections: Array, title?: string | null, footer?: string | null) } /** Message type Buttons */