<#1143 Fix/issue 1133 remove `AnyTemplate`> Pull r...
# pact-js-development
g
#1143 Fix/issue 1133 remove `AnyTemplate` Pull request opened by mefellows This change removes the remaining
AnyTemplate
references from previous parts of the code base, excluding the original HTTP DSL (as this is old and stable, and most users would be using
PactV3
or greater). It is a widening of the types, so is technically backwards compatible on method inputs, however some exported types may be used outside of Pact and the widening from
AnyTemplate
to
unknown
might require type casting (as
unknown
is not iterable, for instance). This is preferable to the current situation however, which is breaking the message pact interface (#1133) and also - as described in #1061 - misleading. pact-foundation/pact-js Cirrus CI: Task Summary Cirrus CI: Task Summary Cirrus CI: Task Summary Cirrus CI: Task Summary Cirrus CI: Task Summary Cirrus CI: Task Summary ✅ 19 other checks have passed 19/25 successful checks