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.

Actually this lib do a great job but the lack of typing for most of opts parameters is really painful.

We have to check regularly HubSpot APIs doc to know which fields/values are accepted.

I would like help to improve this part but i don’t really know which way will be better, so i would like having some advices:

  1. Full refactor to move the whole codebase to TypeScript, following the latests standards
  2. Improve the current types file which can become really painful instead of maintaining the TypeScript codebase

I think the one is the best thing to do before this module become too big, actually moving to TypeScript shouldn’t be so long and can ensure the code quality.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pcothenetcommented, Oct 8, 2019

@antoine-pous I agree, 1 would be the best approach. Keeping separate types up-to-date is a pain.

0reactions
phips28commented, Jan 22, 2020

@antoine-pous any update on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strong and weak typing - Wikipedia
A weakly typed language has looser typing rules and may produce unpredictable or even erroneous results or may perform implicit type conversion at...
Read more >
Why do people find typing without looking so hard?
Typing without looking is enabled by muscle memory, which is also sometimes called procedural memory, and is involved with learning and mastering motor...
Read more >
In my opinion, the lack of static type checking is the ... - Quora
The lack of static typing is not python's weakness, but rather it's strength. The lack of static typing in python combined with the...
Read more >
Do you think the lack of static typing makes using ... - Reddit
Do you think the lack of static typing makes using ClojureScript in the frontend hard to maintain, when the scale of a project...
Read more >
Typing Test · Lack of Progress - Key Hero
Lack of Progress. Practice typing and get help from our typing community.
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