Deprecation warning for servicePath can't be resolved in TypeScript. #2035
Labels
api: firestore
Issues related to the googleapis/nodejs-firestore API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
@google-cloud/firestore
version: 7.6.0Steps to reproduce
v1.FirestoreClient.apiEndpoint
DeprecationWarning: Static servicePath is deprecated, please use the instance method instead.
This commit added the deprecation warning and also the new field to use: d964a13. However, it is not possible to call the
apiEndpoint
instance method because the TypeScript interface was not updated with the new function:nodejs-firestore/types/v1/firestore_client.d.ts
Lines 111 to 116 in 9da9fb0
It misses both the
@deprecated
documentation and the new getter.The text was updated successfully, but these errors were encountered: