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.

Improve TypeScript support

See original GitHub issue

It would be nice to write the lib in TypeScript? I am using:

"@types/ioredis": "^4.0.10",

I am looking for TS support for example:

<kbd> Screen Shot 2019-05-14 at 11 54 01 AM </kbd>

not sure how to fix

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
luincommented, May 29, 2019

@fangedhex Yes, you’re right about the declaration option. For now, the declarations are not exported and published to npm is because we’ve not migrated all the code to TypeScript, especially the Redis class. So it would be better to use @types/ioredis until all the code are migrated.

0reactions
stale[bot]commented, Aug 1, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Improving Workers TypeScript support: accuracy, ergonomics ...
How to use TypeScript with Workers · Improved interoperability with standard types · Improved compatibility with compatibility dates · Improved ...
Read more >
TypeScript Programming with Visual Studio Code
TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. It offers classes, modules, and interfaces to help you build robust...
Read more >
TypeScript: JavaScript With Syntax For Types.
TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale. Try TypeScript Now. Online or...
Read more >
Performance · microsoft/TypeScript Wiki - GitHub
Performance traces are meant to help teams figure out build performance issues in their own codebases; however, they can also be useful for...
Read more >
Improving the TypeScript support in Azure Functions
Or maybe, the context object that is passed into every JavaScript function? This package helps! To get the most of TypeScript, this should...
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