Fixed type errors in the cli

This commit is contained in:
Eric Allam
2023-08-02 11:50:50 +01:00
parent 442ee45e97
commit 53363711bb
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { createIntegrationCommand } from "../commands/createIntegration.js";
import { devCommand } from "../commands/dev.js";
import { initCommand } from "../commands/init.js";
import { CLOUD_TRIGGER_URL, COMMAND_NAME } from "../consts.js";
import { TelemetryClient, telemetryClient } from "../telemetry/telemetry.js";
import { telemetryClient } from "../telemetry/telemetry.js";
import { getVersion } from "../utils/getVersion.js";
export const program = new Command();
+3 -3
View File
@@ -1,16 +1,16 @@
import chokidar from "chokidar";
import dotenv from "dotenv";
import fs from "fs/promises";
import ngrok from "ngrok";
import fetch from "node-fetch";
import ora from "ora";
import pathModule from "path";
import { z } from "zod";
import { telemetryClient } from "../telemetry/telemetry.js";
import { pathExists, readFile } from "../utils/fileSystem.js";
import { logger } from "../utils/logger.js";
import { resolvePath } from "../utils/parseNameAndPath.js";
import { TriggerApi } from "../utils/triggerApi.js";
import dotenv from "dotenv";
import fetch from "node-fetch";
import { TelemetryClient, telemetryClient } from "../telemetry/telemetry.js";
export const DevCommandOptionsSchema = z.object({
port: z.coerce.number(),