From 04e65c0911fff455d2b3a2c727ed094b0c4667b3 Mon Sep 17 00:00:00 2001 From: George Fu Date: Tue, 18 Jun 2024 19:07:37 +0000 Subject: [PATCH] rename variable --- packages/abort-controller/src/AbortController.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/abort-controller/src/AbortController.ts b/packages/abort-controller/src/AbortController.ts index 6a17c940513..108ed1de911 100644 --- a/packages/abort-controller/src/AbortController.ts +++ b/packages/abort-controller/src/AbortController.ts @@ -1,8 +1,8 @@ -import { AbortController as IAbortController } from "@smithy/types"; +import { AbortController as DeprecatedAbortController } from "@smithy/types"; import { AbortSignal } from "./AbortSignal"; -export { IAbortController }; +export { DeprecatedAbortController }; /** * @deprecated This implementation was added as Node.js didn't support AbortController prior to 15.x @@ -10,7 +10,7 @@ export { IAbortController }; * * @public */ -export class AbortController implements IAbortController { +export class AbortController implements DeprecatedAbortController { public readonly signal: AbortSignal = new AbortSignal(); abort(): void {