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
After integrating environment-enforcer into my repo, I'm seeing typeParameters is not coming through here resulting in the following error:
This macro requires you to explicitly pass the type parameter for the interface that defines the contract for which each environment variable file must adhere to. However, we did not find a type parameter for this node: {"type":"CallExpression","callee":{"type":"Identifier","name":"cov_78iegp7dg"},"arguments":[]}"
As you can see, p.node (logged above) has no typeParameters prop.
In the unit tests in this repo, I see that p.node is:
The issue is not actually the type parameter but instead that it can’t find your environment variable file. The order of the error checks is off. I’m open to PRs. At the moment I’m not sure when a fix will be available.
After integrating environment-enforcer into my repo, I'm seeing
typeParameters
is not coming through here resulting in the following error:This macro requires you to explicitly pass the type parameter for the interface that defines the contract for which each environment variable file must adhere to. However, we did not find a type parameter for this node: {"type":"CallExpression","callee":{"type":"Identifier","name":"cov_78iegp7dg"},"arguments":[]}"
As you can see,
p.node
(logged above) has notypeParameters
prop.In the unit tests in this repo, I see that
p.node
is:I'm unclear why typeParameters are not being passed through successfully.
The text was updated successfully, but these errors were encountered: