Skip to content

Commit ab034f5

Browse files
authored
Fix @types/node conflict with grpc and port type (#1258)
Upgraded the @types/node dependency to v12.12.47
1 parent b88f891 commit ab034f5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"dependencies": {
5959
"@firebase/database": "^0.10.0",
6060
"@firebase/database-types": "^0.7.2",
61-
"@types/node": "^10.10.0",
61+
"@types/node": ">=12.12.47",
6262
"dicer": "^0.3.0",
6363
"jsonwebtoken": "^8.5.1",
6464
"jwks-rsa": "^2.0.2",

src/utils/api-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ class HttpRequestConfigImpl implements HttpRequestConfig {
728728
public buildRequestOptions(): https.RequestOptions {
729729
const parsed = this.buildUrl();
730730
const protocol = parsed.protocol;
731-
let port: string | undefined = parsed.port;
731+
let port: string | null = parsed.port;
732732
if (!port) {
733733
const isHttps = protocol === 'https:';
734734
port = isHttps ? '443' : '80';

0 commit comments

Comments
 (0)