Skip to content

Commit 1fbacad

Browse files
committed
Fix lint errors
1 parent a7b480e commit 1fbacad

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

packages/analytics/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import {
4040
} from '@firebase/util';
4141
import { name, version } from './package.json';
4242

43+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
4344
declare global {
4445
interface Window {
4546
[key: string]: unknown;

packages/app/src/lite/firebaseAppLite.ts

-6
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ import {
3535
Name
3636
} from '@firebase/component';
3737

38-
interface ServicesCache {
39-
[name: string]: {
40-
[serviceName: string]: FirebaseService;
41-
};
42-
}
43-
4438
/**
4539
* Global context object for a collection of services using
4640
* a shared authentication state.

packages/firestore/src/remote/rest_connection.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export abstract class RestConnection implements Connection {
144144
body: Req
145145
): Promise<Resp>;
146146

147-
private makeUrl<Req>(rpcName: string, path: string): string {
147+
private makeUrl(rpcName: string, path: string): string {
148148
const urlRpcName = RPC_NAME_URL_MAPPING[rpcName];
149149
debugAssert(
150150
urlRpcName !== undefined,

packages/firestore/src/util/obj.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface Dict<V> {
2121
[stringKey: string]: V;
2222
}
2323

24-
export function objectSize<V>(obj: object): number {
24+
export function objectSize(obj: object): number {
2525
let count = 0;
2626
for (const key in obj) {
2727
if (Object.prototype.hasOwnProperty.call(obj, key)) {

packages/messaging/src/util/sw-types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
// Not the whole interface, just the parts we're currently using. If TS claims that something does
2929
// not exist on this, feel free to add it.
30+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
3031
interface ServiceWorkerGlobalScope {
3132
readonly location: WorkerLocation;
3233
readonly clients: Clients;

packages/performance/src/services/api_service.ts

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
import { ERROR_FACTORY, ErrorCode } from '../utils/errors';
1919
import { isIndexedDBAvailable } from '@firebase/util';
2020
import { consoleLogger } from '../utils/console_logger';
21+
22+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2123
declare global {
2224
interface Window {
2325
PerformanceObserver: typeof PerformanceObserver;

packages/remote-config/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import {
3838
// Note these debug options are not part of a documented, supported API and can change at any time.
3939
// Consolidates debug options for easier discovery.
4040
// Uses transient variables on window to avoid lingering state causing panic.
41+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
4142
declare global {
4243
interface Window {
4344
FIREBASE_REMOTE_CONFIG_URL_BASE: string;

0 commit comments

Comments
 (0)