Skip to content

Commit 99bd25a

Browse files
committed
Remobved unused import from node-fetch example
1 parent 28415a8 commit 99bd25a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66
- Return `undefined` to match `noImplicitReturns` rule
77
- Made `BaseHttpRequest` class abstract
88
- Removed private fields using `#` inside `CancelablePromise`
9+
- Removed unneeded import `AbortController` from `node-fetch` client
910
- Filter out wrong enum values
1011

1112
## [0.20.1] - 2022-02-25

src/templates/core/node/request.hbs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{{>header}}
22

3-
import { AbortController } from 'abort-controller';
43
import FormData from 'form-data';
5-
import fetch, { BodyInit, Headers, RequestInit, Response } from 'node-fetch';
4+
import fetch, { Headers, RequestInit, Response } from 'node-fetch';
65

76
import { ApiError } from './ApiError';
87
import type { ApiRequestOptions } from './ApiRequestOptions';

0 commit comments

Comments
 (0)