Skip to content

Commit 055282a

Browse files
committed
Update docs with recommended import method
1 parent 8d69e9f commit 055282a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/proto-loader/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ Consume the types:
114114
```ts
115115
import * as grpc from '@grpc/grpc-js';
116116
import * as protoLoader from '@grpc/proto-loader';
117-
import { ProtoGrpcType } from './proto/example';
118-
import { ExampleHandlers } from './proto/example_package/Example';
117+
import type { ProtoGrpcType } from './proto/example.ts';
118+
import type { ExampleHandlers } from './proto/example_package/Example.ts';
119119

120120
const exampleServer: ExampleHandlers = {
121121
// server handlers implementation...

0 commit comments

Comments
 (0)