You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
350 B
TypeScript
9 lines
350 B
TypeScript
import { AbortSignal } from 'abort-controller';
|
|
// eslint-disable-next-line import/no-unresolved
|
|
import { AbortSignal as AbortSignalNode } from 'node-fetch/externals';
|
|
|
|
export type MergedAbortSignal = AbortSignal | AbortSignalNode;
|
|
|
|
export type WithTimeoutMs = { timeoutMs: number };
|
|
export type WithAbortSignal = { abortSignal: MergedAbortSignal };
|