From 055282a14073d6738795ba77cc59268234aaec57 Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 25 Mar 2024 09:03:50 +0100 Subject: [PATCH] Update docs with recommended import method --- packages/proto-loader/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/proto-loader/README.md b/packages/proto-loader/README.md index 5abf4d1d..3ee67272 100644 --- a/packages/proto-loader/README.md +++ b/packages/proto-loader/README.md @@ -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...