fix: location class type (#718)

This commit is contained in:
stefanfuchs
2021-07-11 21:54:32 -03:00
committed by GitHub
parent 9d715735ed
commit efa6cf98d2

11
index.d.ts vendored
View File

@@ -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 {