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,
|
_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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue