Skip to content

Commit

Permalink
Update docs with recommended import method
Browse files Browse the repository at this point in the history
  • Loading branch information
atjn committed Mar 25, 2024
1 parent 8d69e9f commit 055282a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/proto-loader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ Consume the types:
```ts
import * as grpc from '@grpc/grpc-js';
import * as protoLoader from '@grpc/proto-loader';
import { ProtoGrpcType } from './proto/example';
import { ExampleHandlers } from './proto/example_package/Example';
import type { ProtoGrpcType } from './proto/example.ts';
import type { ExampleHandlers } from './proto/example_package/Example.ts';

const exampleServer: ExampleHandlers = {
// server handlers implementation...
Expand Down

0 comments on commit 055282a

Please sign in to comment.