Skip to content

Commit 7699f60

Browse files
committed
src: remove AbortSignal import
AbortSignal is available in all supported versions of Node. These imports were causing problems when attempting to upgrade TypeScript settings because apparently 'node-fetch/externals' exists in the types package, but not in the actual node-fetch module.
1 parent 467300e commit 7699f60

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/log.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import fetch from 'node-fetch';
2-
import { AbortSignal } from 'node-fetch/externals';
32
import { Writable } from 'node:stream';
43
import { ApiException } from './api';
54
import { KubeConfig } from './config';

src/watch.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { createInterface } from 'node:readline';
22
import fetch from 'node-fetch';
3-
import { AbortSignal } from 'node-fetch/externals';
43
import { KubeConfig } from './config';
54

65
export class Watch {

0 commit comments

Comments
 (0)