Current gRPC(v1.3.7) has no official TypeScript definition. But shall have one soon, see: #11020. This repo would be Deprecated
as soon as official d.ts online.
Codes mostly come from #11020, and a bit from mixer/etcd3. And partly self updated.
Maintain a grpc.d.ts file for gRPC TypeScript project.
npm install grpc-tsd --save-dev
Add following codes in tsconfig.json
:
"include": [
"node_modules/grpc-tsd/src/grpc.d.ts"
],