diff --git a/core/controller-decorator/src/model/HTTPRequest.ts b/core/controller-decorator/src/model/HTTPRequest.ts index e928e737..46a6b726 100644 --- a/core/controller-decorator/src/model/HTTPRequest.ts +++ b/core/controller-decorator/src/model/HTTPRequest.ts @@ -1,2 +1,2 @@ -import * as undici from 'undici'; +import undici from 'undici'; export class HTTPRequest extends undici.Request {} diff --git a/core/controller-decorator/src/model/HTTPResponse.ts b/core/controller-decorator/src/model/HTTPResponse.ts index 17a5fe2b..ed7513c3 100644 --- a/core/controller-decorator/src/model/HTTPResponse.ts +++ b/core/controller-decorator/src/model/HTTPResponse.ts @@ -1,2 +1,2 @@ -import * as undici from 'undici'; +import undici from 'undici'; export class HTTPResponse extends undici.Response {} diff --git a/package.json b/package.json index b37e2b4c..f5266cbc 100644 --- a/package.json +++ b/package.json @@ -42,9 +42,7 @@ "lerna": "^6.1.0", "nyc": "^15.1.0", "source-map-support": "^0.5.16", - "test-exclude": "^6.0.0", - "ts-node": "^10.1.0", - "typescript": "^4.0.0" + "test-exclude": "^6.0.0" }, "workspaces": [ "core/*",