mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-20 04:29:15 +00:00
fix: location class type (#718)
This commit is contained in:
11
index.d.ts
vendored
11
index.d.ts
vendored
@@ -600,10 +600,13 @@ declare namespace WAWebJS {
|
|||||||
_serialized: string,
|
_serialized: string,
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Location {
|
/** Location information */
|
||||||
description?: string | null,
|
export class Location {
|
||||||
latitude: string,
|
description?: string | null
|
||||||
longitude: string,
|
latitude: string
|
||||||
|
longitude: string
|
||||||
|
|
||||||
|
constructor(latitude: number, longitude: number, description?: string)
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Label {
|
export interface Label {
|
||||||
|
|||||||
Reference in New Issue
Block a user