question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typings issue in version 1.9.0

See original GitHub issue

If I run tsc -d on my Typescript source I get the following message:

../../../../../grpc/index.d.ts(69,50): error TS2314: Generic type 'Message<T>' requires 1 type argument(s).                                                  

grpc-node version: 1.9.0 Typescript version: 2.7.1 tsconfig.json compiler options:

"compilerOptions": {
    "target": "es6",
    "module": "commonjs",
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "allowSyntheticDefaultImports": true
  }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
murgatroid99commented, Feb 16, 2018

I have published version 1.9.1, which includes a fix for this issue.

1reaction
FedeBevcommented, Jul 10, 2018

@miv is right, this package use protobufjs 5 so you should import @types/protobufjs@^5.x.x in you project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

types/node + typescript@1.9.0-dev.20160521-1.0 ... - GitHub
fix(e2e): remove static typings and use typings manager … 1b653dc. * Removes static typings and uses the typings manager ...
Read more >
SciPy 1.9.0 Release Notes — SciPy v1.9.3 Manual
SciPy 1.9.0 is the culmination of 6 months of hard work. It contains many new features, numerous bug-fixes, improved test coverage and better...
Read more >
Numpy version issue when using astropy - Stack Overflow
I am currentling trying to use a package I installed (stsynphot), but I have the following error when typing ...
Read more >
@types/leaflet - npm
TypeScript definitions for Leaflet.js. Latest version: 1.9.0, last published: 2 months ago. Start using @types/leaflet in your project by ...
Read more >
Chat for Jira Service Management - Version history
We are pleased to present you with version 1.9.3 of the Chat for Service Management app. This version provides a few improvements and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found