I just started experimenting with GRPC using node.js with TypeScript.
Typing errors appeared for KeyCertPair:
|
* @property {Buffer} privateKey The server's private key |
Instead of privateKey it should be private_key.
Instead of certChain it should be cert_chain.
Then it works.
I just started experimenting with GRPC using node.js with TypeScript.
Typing errors appeared for KeyCertPair:
grpc-node/packages/grpc-native-core/index.js
Line 222 in b611b50
grpc-node/packages/grpc-native-core/index.d.ts
Line 540 in b611b50
Instead of
privateKeyit should beprivate_key.Instead of
certChainit should becert_chain.Then it works.