File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818import { HttpClientOptions } from './http-client' ;
1919
20- // eslint-disable-next-line @typescript-eslint/no-empty-interface
20+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
2121export interface ClientOptions extends HttpClientOptions { }
2222
23- // eslint-disable-next-line @typescript-eslint/no-empty-interface
2423export interface Client {
2524 name : string ;
2625 options : ClientOptions ;
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export class GelatoClient implements Client {
6666 return this . ensureService_ ( name , ( ) => init ( this ) ) ;
6767 }
6868
69- // eslint-disable-next-line @typescript-eslint/naming-convention
69+
7070 private ensureService_ < T > ( serviceName : string , initializer : ( ) => T ) : T {
7171 if ( ! ( serviceName in this . services_ ) ) {
7272 this . services_ [ serviceName ] = initializer ( ) ;
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export class ClientStore {
7676 throw new GelatoClientError ( ClientErrorCode . NO_CLIENT , errorMessage ) ;
7777 }
7878
79- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
79+
8080 return this . clientStore . get ( clientName ) ! ;
8181 }
8282
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ gelato-admin appears to have been installed in an unsupported environment.
2424This package should only be used in server-side or backend Node.js environments,
2525and should not be used in web browsers or other client-side environments.
2626` ;
27- // eslint-disable-next-line no-console
27+
2828 console . error ( message ) ;
2929}
3030
You can’t perform that action at this time.
0 commit comments