add typings for LocalAuth attributes (#1262)

This commit is contained in:
Filipe 2022-03-01 00:00:21 -03:00 • committed by GitHub
commit cc78e9863d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
index.d.ts vendored
View file

@ -358,6 +358,8 @@ declare namespace WAWebJS {
* Local directory-based authentication * Local directory-based authentication
*/ */
export class LocalAuth extends AuthStrategy { export class LocalAuth extends AuthStrategy {
public clientId?: string;
public dataPath?: string;
constructor(options?: { constructor(options?: {
clientId?: string, clientId?: string,
dataPath?: string dataPath?: string