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.

Willing to take a PR to add TypeScript types?

See original GitHub issue

This project looks very interesting, and I’d like to try it out with TypeScript. However, there are currently no official types available.

There are two ways to do this.

  1. Publish types to DefinitelyTyped.
  2. Include types with this package.

Including types with this package would involve adding a types directory and modifying the package.json.

Would you take a PR adding types to this package?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
danielmhanovercommented, Aug 18, 2017

Will do!

0reactions
ljharbcommented, Jul 17, 2020

DT is the proper place for types for packages not natively authored in TS.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation - Creating Types from Types - TypeScript
An overview of the ways in which you can create more types from existing types. ... we actually have a wide variety of...
Read more >
How to Add TypeScript to a JavaScript Project - freeCodeCamp
Add a typescript config file, which can be created using the tsc --init command in you CLI.
Read more >
Add TypeScript types · Issue #568 · avajs/ava - GitHub
This would allow TypeScript users to easily use ava, since TypeScript can automatically find typings for node modules that have included them.
Read more >
Basic Features: TypeScript - Next.js
Next.js supports TypeScript by default and has built-in types for pages and the API. You can get started with TypeScript in Next.js here....
Read more >
Surviving the TypeScript Ecosystem — Part 4 - Medium
Say you are using some JavaScript library for which TypeScript can't figure out the types, what do you do? The solution is to...
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