fix: location class type (#718)
This commit is contained in:
parent
9d715735ed
commit
efa6cf98d2
1 changed files with 7 additions and 4 deletions
11
index.d.ts
vendored
11
index.d.ts
vendored
|
|
@ -600,10 +600,13 @@ declare namespace WAWebJS {
|
|||
_serialized: string,
|
||||
}
|
||||
|
||||
export interface Location {
|
||||
description?: string | null,
|
||||
latitude: string,
|
||||
longitude: string,
|
||||
/** Location information */
|
||||
export class Location {
|
||||
description?: string | null
|
||||
latitude: string
|
||||
longitude: string
|
||||
|
||||
constructor(latitude: number, longitude: number, description?: string)
|
||||
}
|
||||
|
||||
export interface Label {
|
||||
|
|
|
|||
Loading…
Reference in a new issue