Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Jun 18, 2024
1 parent 96e07c7 commit 04e65c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/abort-controller/src/AbortController.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
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
* Use native implementation in browsers or Node.js \>=15.4.0.
*
* @public
*/
export class AbortController implements IAbortController {
export class AbortController implements DeprecatedAbortController {
public readonly signal: AbortSignal = new AbortSignal();

abort(): void {
Expand Down

0 comments on commit 04e65c0

Please sign in to comment.