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.

Typescript definition file

See original GitHub issue

Hi,

I’m using discord.js for a bot project of mine written in TypeScript. For now I’ve made my own typings file (not great/complete) and I was wondering if you’re going to provide an official (i.e. made by the contributors of this project) one in the mid/long term?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:29 (9 by maintainers)

github_iconTop GitHub Comments

10reactions
chadriencommented, Apr 16, 2016

Alright, as I started one I might as well try to complete it and open a PR 😃

6reactions
ooroorootcommented, Sep 13, 2016

Generated this template 99% automatically from docs.json https://gist.github.com/oorooroot/091e392cdc45a995b2fade876980c0cd Need some review on it, please. Creating typings first time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation - Introduction - TypeScript
The Declaration Files section is designed to teach you how to write a high-quality TypeScript Declaration File. We need to assume basic familiarity...
Read more >
A quick introduction to “Type Declaration” files and adding ...
A Type Declaration or Type Definition file is a TypeScript file but with .d.ts filename extension. So what so special about these Type ......
Read more >
TypeScript — Type Declaration Files | by Makesh Kumar
Type declaration files are the files with d.ts extension, where types were declared via interface or type . These declaration files have no...
Read more >
What is a “.d.ts” file in TypeScript? - Ohans Emmanuel's Blog
.d.ts files are called type declaration files. They exist for one purpose only: to describe the shape of an existing module and they...
Read more >
Writing Declaration Files for @types - TypeScript
Declaration files, if you're not familiar, are just files that describe the shape of an existing JavaScript codebase to TypeScript. By using ...
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