You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have upgraded tracer to version 1.2.0, incorporating declarations for dynamically adding functions to objects. However, we are still facing an issue where ESLint perceives these functions as potentially being undefined. Using an exclamation mark after each function reference feels inelegant. If anyone has a solution to this problem, please submit a patch.
Hello! I just found out about the library and this issue as well. I would be glad to fill a PR, but I don't get what you mean by incorporating declarations for dynamically adding functions to objects. If you don't mind taking some time to show me an example of what you want to achieve, I could help implementing it
Activity
Kreedzt commentedon Aug 2, 2023
It is missing the ts type definition, so we need to do it ourselves.
baryon commentedon Sep 13, 2023
We have upgraded tracer to version 1.2.0, incorporating declarations for dynamically adding functions to objects. However, we are still facing an issue where ESLint perceives these functions as potentially being
undefined. Using an exclamation mark after each function reference feels inelegant. If anyone has a solution to this problem, please submit a patch.JulesGuesnon commentedon Apr 25, 2024
Hello! I just found out about the library and this issue as well. I would be glad to fill a PR, but I don't get what you mean by
incorporating declarations for dynamically adding functions to objects. If you don't mind taking some time to show me an example of what you want to achieve, I could help implementing it