Use default export to fix issue with package lying with types (#6081)

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-08-22 16:42:06 -04:00
1 parent df1cc8b788
commit 03d2389f01
4 files changed
+5 -9

No files matched your search

@@ -14,7 +14,7 @@ import { DeploymentApi, Ingress, IngressApi, Pod, PodApi } from "../endpoints";
import { getDiForUnitTesting } from "../../../renderer/getDiForUnitTesting";
import apiManagerInjectable from "../api-manager/manager.injectable";
import autoRegistrationInjectable from "../api-manager/auto-registration.injectable";
import { AbortController } from "abort-controller";
import AbortController from "abort-controller";
jest.mock("../api-manager");
+1 -1
View File
@@ -20,7 +20,7 @@ import logger from "../logger";
import assert from "assert";
import type { PartialDeep } from "type-fest";
import { entries } from "../utils/objects";
import { AbortController } from "abort-controller";
import AbortController from "abort-controller";
export type OnLoadFailure = (error: unknown) => void;
+1 -1
View File
@@ -3,7 +3,7 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { AbortController } from "abort-controller";
import AbortController from "abort-controller";
/**
* This is like an `AbortController` but will also abort if the parent aborts,