fix(mta): Expose HttpResponse.statusCode and add explicit generic type annotations in DNSManager cache retrieval

This commit is contained in:
2025-03-15 14:13:02 +00:00
parent 983e6cb623
commit 4887ec9d93
4 changed files with 10 additions and 4 deletions

View File

@ -141,7 +141,7 @@ class HttpResponse {
private headers: Record<string, string> = {
'Content-Type': 'application/json'
};
private statusCode: number = 200;
public statusCode: number = 200;
constructor(private res: any) {}