Fix the Location declaration (#3555)

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
This commit is contained in:
WavyCat 2025-05-30 18:28:40 +05:00 • committed by GitHub
commit 3836309f99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

5
index.d.ts vendored
View file

@ -1033,7 +1033,10 @@ declare namespace WAWebJS {
export class Location { export class Location {
latitude: string; latitude: string;
longitude: string; longitude: string;
options?: LocationSendOptions; name?: string;
address?: string;
url?: string;
description?: string;
constructor(latitude: number, longitude: number, options?: LocationSendOptions) constructor(latitude: number, longitude: number, options?: LocationSendOptions)
} }

View file

@ -6,6 +6,7 @@
* @property {string} [name] Location name * @property {string} [name] Location name
* @property {string} [address] Location address * @property {string} [address] Location address
* @property {string} [url] URL address to be shown within a location message * @property {string} [url] URL address to be shown within a location message
* @property {string} [description] Location full description
*/ */
/** /**