Skip to content

Commit

Permalink
Cleanup eslint artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
christhompsongoogle committed Sep 30, 2022
1 parent 0f14d86 commit 5ecb346
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
12 changes: 0 additions & 12 deletions src/emulator/commandUtils.ts
Expand Up @@ -72,9 +72,6 @@ const DEFAULT_CONFIG = new Config(
{}
);

/**
*
*/
export function printNoticeIfEmulated(
options: any,
emulator: Emulators.DATABASE | Emulators.FIRESTORE
Expand All @@ -98,9 +95,6 @@ export function printNoticeIfEmulated(
}
}

/**
*
*/
export function warnEmulatorNotSupported(
options: any,
emulator: Emulators.DATABASE | Emulators.FIRESTORE
Expand Down Expand Up @@ -138,9 +132,6 @@ export function warnEmulatorNotSupported(
}
}

/**
*
*/
export async function beforeEmulatorCommand(options: any): Promise<any> {
const optionsWithDefaultConfig = {
...options,
Expand Down Expand Up @@ -176,9 +167,6 @@ export async function beforeEmulatorCommand(options: any): Promise<any> {
}
}

/**
*
*/
export function parseInspectionPort(options: any): number {
let port = options.inspectFunctions;
if (port === true) {
Expand Down
5 changes: 1 addition & 4 deletions src/init/features/emulators.ts
Expand Up @@ -11,9 +11,6 @@ interface EmulatorsInitSelections {
download?: boolean;
}

/**
*
*/
export async function doSetup(setup: any, config: any) {
const choices = ALL_SERVICE_EMULATORS.map((e) => {
return {
Expand Down Expand Up @@ -52,7 +49,7 @@ export async function doSetup(setup: any, config: any) {
type: "number",
name: "port",
message: `Which port do you want to use for the ${clc.underline(selected)} emulator?`,
default: Constants.getDefaultPort(selected),
default: Constants.getDefaultPort(selected as Emulators),
},
]);
}
Expand Down

0 comments on commit 5ecb346

Please sign in to comment.