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, _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 {