zetapush-js: Fix no-unnecessary-class lint error (#20775)

This commit is contained in:
Andy 2017-10-23 08:06:58 -07:00 committed by GitHub
parent 07092cc758
commit 0d0eeddc9d

View File

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