Which plugin/repository is the issue about?
accept-blue
Describe the bug
The declare module statement that is present in the accept-blue plugin does not seem to get picked up. This makes it problematic to access the customFields keys in service methods. Even importing the AcceptBlue Plugin as part of the plugin where you are accessing it, does not help. Also tried adding the node_modules/@pinelab to tsConfig typeRoots. Perhaps there is something else I need to do?
To Reproduce
Steps to reproduce the behavior:
Access the acceptBlueSubscriptionIds in a service method
See error
Expected behavior
I would expect the declare module statements to be exported in a way that allows for it to get picked up by the type system in a convenient way or if not, for that to be documented
Screenshots
If applicable, add screenshots to help explain your problem.
To be honest, I am not sure how to accomplish this. I did include the type declaration file in the package in this PR (v1.9.0), but couldn't get it to work in a consumer project yet...
Which plugin/repository is the issue about? accept-blue
Describe the bug The declare module statement that is present in the accept-blue plugin does not seem to get picked up. This makes it problematic to access the customFields keys in service methods. Even importing the AcceptBlue Plugin as part of the plugin where you are accessing it, does not help. Also tried adding the node_modules/@pinelab to tsConfig
typeRoots
. Perhaps there is something else I need to do?To Reproduce Steps to reproduce the behavior:
acceptBlueSubscriptionIds
in a service methodExpected behavior I would expect the declare module statements to be exported in a way that allows for it to get picked up by the type system in a convenient way or if not, for that to be documented
Screenshots If applicable, add screenshots to help explain your problem.
Environment