File tree 7 files changed +7
-8
lines changed
7 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ import {
40
40
} from '@firebase/util' ;
41
41
import { name , version } from './package.json' ;
42
42
43
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
43
44
declare global {
44
45
interface Window {
45
46
[ key : string ] : unknown ;
Original file line number Diff line number Diff line change @@ -35,12 +35,6 @@ import {
35
35
Name
36
36
} from '@firebase/component' ;
37
37
38
- interface ServicesCache {
39
- [ name : string ] : {
40
- [ serviceName : string ] : FirebaseService ;
41
- } ;
42
- }
43
-
44
38
/**
45
39
* Global context object for a collection of services using
46
40
* a shared authentication state.
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ export abstract class RestConnection implements Connection {
144
144
body : Req
145
145
) : Promise < Resp > ;
146
146
147
- private makeUrl < Req > ( rpcName : string , path : string ) : string {
147
+ private makeUrl ( rpcName : string , path : string ) : string {
148
148
const urlRpcName = RPC_NAME_URL_MAPPING [ rpcName ] ;
149
149
debugAssert (
150
150
urlRpcName !== undefined ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export interface Dict<V> {
21
21
[ stringKey : string ] : V ;
22
22
}
23
23
24
- export function objectSize < V > ( obj : object ) : number {
24
+ export function objectSize ( obj : object ) : number {
25
25
let count = 0 ;
26
26
for ( const key in obj ) {
27
27
if ( Object . prototype . hasOwnProperty . call ( obj , key ) ) {
Original file line number Diff line number Diff line change 27
27
28
28
// Not the whole interface, just the parts we're currently using. If TS claims that something does
29
29
// not exist on this, feel free to add it.
30
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
30
31
interface ServiceWorkerGlobalScope {
31
32
readonly location : WorkerLocation ;
32
33
readonly clients : Clients ;
Original file line number Diff line number Diff line change 18
18
import { ERROR_FACTORY , ErrorCode } from '../utils/errors' ;
19
19
import { isIndexedDBAvailable } from '@firebase/util' ;
20
20
import { consoleLogger } from '../utils/console_logger' ;
21
+
22
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
21
23
declare global {
22
24
interface Window {
23
25
PerformanceObserver : typeof PerformanceObserver ;
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ import {
38
38
// Note these debug options are not part of a documented, supported API and can change at any time.
39
39
// Consolidates debug options for easier discovery.
40
40
// Uses transient variables on window to avoid lingering state causing panic.
41
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
41
42
declare global {
42
43
interface Window {
43
44
FIREBASE_REMOTE_CONFIG_URL_BASE : string ;
You can’t perform that action at this time.
0 commit comments