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
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.
Environment
NodeJS version
Vendure version: [e.g. 1.7.1]: 2.2.
Plugin version [e.g. 3.1.1]: 1.6.1
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: