Closed andreincu closed 4 months ago
Hi! Thanks for raising this concern. We actually do maintain typings for both of these versions of createVariable
, because if users do not migrate their plugins to be Dynamic Page Loading compatible, they can still use the deprecated method that takes in a collectionId
. There is additional information documenting this release here!
At first glance, I thought that
createVariable
is duplicated. However, after a closer look, there is an issue with the definition.According to docs, the second one should be the valid one (the one with collection property).