feat: update @types/node to v22 (#10926)

This commit is contained in:
Almeida
2025-06-07 14:21:57 +01:00
committed by GitHub
parent 9708717204
commit 8e03af6eaf
7 changed files with 17 additions and 215 deletions

View File

@@ -70,9 +70,9 @@ export class REST extends AsyncEventEmitter<RestEvents> {
#token: string | null = null;
private hashTimer!: NodeJS.Timer | number;
private hashTimer!: NodeJS.Timeout | number;
private handlerTimer!: NodeJS.Timer | number;
private handlerTimer!: NodeJS.Timeout | number;
public readonly options: RESTOptions;

View File

@@ -1,5 +0,0 @@
import type * as undici from 'undici';
declare global {
export const { fetch, FormData, Headers, Request, Response }: typeof undici;
}