diff --git a/package.json b/package.json index 2dc24800e..d94a5f3e5 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@google-cloud/opentelemetry-resource-util": "^2.4.0", "@google-cloud/precise-date": "^4.0.0", "@google-cloud/projectify": "^4.0.0", - "@google-cloud/promisify": "^4.0.0", + "@google-cloud/promisify": "4.0.0", "@opentelemetry/api": "^1.9.0", "@opentelemetry/resources": "^1.30.0", "@opentelemetry/sdk-metrics": "^1.30.0", diff --git a/src/instance.ts b/src/instance.ts index 7d5569bd5..420d9cbf5 100644 --- a/src/instance.ts +++ b/src/instance.ts @@ -1310,7 +1310,7 @@ Please use the format 'my-instance' or '${bigtable.projectName}/instances/my-ins : callback!; if (policy.etag !== null && policy.etag !== undefined) { - (policy.etag as {} as Buffer) = Buffer.from(policy.etag); + (policy.etag as {} as Buffer) = Buffer.from(policy.etag as string); } const reqOpts = { resource: this.name, diff --git a/src/table.ts b/src/table.ts index ea721b3ac..d59eaf0ca 100644 --- a/src/table.ts +++ b/src/table.ts @@ -1042,7 +1042,7 @@ export class Table extends TabularApiSurface { : callback!; if (policy.etag !== null && policy.etag !== undefined) { - (policy.etag as {} as Buffer) = Buffer.from(policy.etag); + (policy.etag as {} as Buffer) = Buffer.from(policy.etag as string); } const reqOpts = { resource: this.name, diff --git a/test/chunktransformer.ts b/test/chunktransformer.ts index d58a2d434..5e08c46de 100644 --- a/test/chunktransformer.ts +++ b/test/chunktransformer.ts @@ -39,6 +39,7 @@ const FakeMutation = { }), }; +// Some-comment describe('Bigtable/ChunkTransformer', () => { // eslint-disable-next-line @typescript-eslint/no-explicit-any let ChunkTransformer: any;