From 0d0eeddc9d64ebe382201394086fc10054ebca00 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 23 Oct 2017 08:06:58 -0700 Subject: [PATCH] zetapush-js: Fix no-unnecessary-class lint error (#20775) --- types/zetapush-js/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/zetapush-js/index.d.ts b/types/zetapush-js/index.d.ts index afe0e3c6b0..b6d8d1d9e3 100644 --- a/types/zetapush-js/index.d.ts +++ b/types/zetapush-js/index.d.ts @@ -120,10 +120,10 @@ export interface ClientHelper { export type ConnectionStatusHandler = number; -export class Authentication { - static delegating({ token }: TokenAuthData): TokenHandshake; - static simple({ login, password }: CredentialsAuthData): CredentialsHandshake; - static weak({ token }: TokenAuthData): TokenHandshake; +export namespace Authentication { + function delegating({ token }: TokenAuthData): TokenHandshake; + function simple({ login, password }: CredentialsAuthData): CredentialsHandshake; + function weak({ token }: TokenAuthData): TokenHandshake; } export interface ConnectionStatusListener {