Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix tests

Chocobozzz8d74df442187
diff --git a/.oxlintrc.json b/.oxlintrc.json
index a5f4042dfd..5961f889e0 100644
--- a/.oxlintrc.json
+++ b/.oxlintrc.json
@@ -326,7 +326,7 @@
{
"lib": "never",
"path": "never",
- "types": "never"
+ "types": "prefer-import"
}
],
"@typescript-eslint/unbound-method": "off",
diff --git a/packages/server-commands/src/requests/requests.ts b/packages/server-commands/src/requests/requests.ts
index ffe66042ee..070d616105 100644
--- a/packages/server-commands/src/requests/requests.ts
+++ b/packages/server-commands/src/requests/requests.ts
@@ -1,5 +1,5 @@
// Fix typing issue because superagent is referenced by supertest
-import 'superagent'
+/// <reference types="superagent" />
import { pick, queryParamsToObject } from '@peertube/peertube-core-utils'
import { HttpStatusCode, HttpStatusCodeType } from '@peertube/peertube-models'