Skip to content

Commit 7acb14e

Browse files
committed
Auth - remove superfluous casting.
1 parent 1e25ff2 commit 7acb14e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/auth/src/platform_node/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ import { getDefaultEmulatorHost } from '@firebase/util';
3131

3232
// Initialize the fetch polyfill, the types are slightly off so just cast and hope for the best
3333
FetchProvider.initialize(
34-
fetch as unknown as typeof fetch,
35-
Headers as unknown as typeof Headers,
36-
Response as unknown as typeof Response
34+
fetch,
35+
Headers,
36+
Response
3737
);
3838

3939
// First, we set up the various platform-specific features for Node (register

0 commit comments

Comments
 (0)