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 declarations for plugin contributors

See original GitHub issue

Hi everyone.

I haven’t been here in a while, but revisited and thought about contributing a plugin for gfycat support. If I do, I’d like to write it in TypeScript. After a glance at the project, it looks it’s written in vanilla JS. Has anyone created a declaration file for ShareServiceContext by chance?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sindresorhuscommented, Feb 14, 2020

@connor4312 Just a quick note for when you do. https://github.com/connor4312/kap-azure/blob/f902290eba51395214a4921fe65c09fec11d7602/src/types/kap.d.ts#L23 should be strongly-typed. Either a union or enum.

0reactions
connor4312commented, Feb 17, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Module: Plugin - TypeScript: Documentation
This is the module plugin template file. ... then we expand the existing declaration of the greeter function ... Contributors to this page:....
Read more >
Documentation - Global: Plugin - TypeScript
A global-modifying module alters existing values in the global scope when they are imported. For example, there might exist a library which adds...
Read more >
Documentation - Publishing - TypeScript
There are two main ways you can publish your declaration files to npm: ... Both TypeScript and JavaScript projects can generate types via...
Read more >
Documentation - Creating .d.ts Files from .js files - TypeScript
With TypeScript 3.7, TypeScript added support for generating .d.ts files from JavaScript using JSDoc syntax. This set up means you can own the...
Read more >
Documentation - Type Declarations - TypeScript
A declaration file provides a way to declare the existence of some types or values ... .d.ts files are declaration files that contain...
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