From 4f041c1152c266d90ca9944c460f248b548ac218 Mon Sep 17 00:00:00 2001 From: ken-scarf Date: Thu, 14 Mar 2024 16:40:06 -0400 Subject: [PATCH] update to namespace import --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index 83627a3..9e89a44 100644 --- a/index.ts +++ b/index.ts @@ -1,7 +1,7 @@ import { ChildProcess, spawn } from "child_process"; -import fs from "fs"; +import * as fs from "fs"; import { IncomingMessage } from "http"; -import http from "https"; +import * as http from "https"; const scarfApiToken = process.env.SCARF_API_TOKEN; if (!scarfApiToken) throw "missing env variable: SCARF_API_TOKEN";