mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Housekeeping & Make ESLint Happy
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import picocolors from 'picocolors';
|
||||
import { defaultRequestInit, fetchWithRetry } from './fetch-retry';
|
||||
import { setTimeout } from 'timers/promises';
|
||||
import { setTimeout } from 'node:timers/promises';
|
||||
|
||||
class CustomAbortError extends Error {
|
||||
constructor() {
|
||||
super();
|
||||
this.name = 'CustomAbortError';
|
||||
}
|
||||
|
||||
public readonly name = 'AbortError';
|
||||
public readonly digest = 'AbortError';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user