Skip to content

Commit

Permalink
fix import node:dns promises
Browse files Browse the repository at this point in the history
  • Loading branch information
gkampitakis committed Jul 3, 2024
1 parent cb58fbc commit c9fc8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-js/src/resolver-dns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
registerResolver,
registerDefaultScheme,
} from './resolver';
import * as dns from 'dns/promises';
import { promises as dns } from 'node:dns';
import { extractAndSelectServiceConfig, ServiceConfig } from './service-config';
import { Status } from './constants';
import { StatusObject } from './call-interface';
Expand Down

0 comments on commit c9fc8b2

Please sign in to comment.