Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit fcc54a7

Browse files
committed
Fix lint issues.
1 parent 2f081a6 commit fcc54a7

5 files changed

Lines changed: 21 additions & 7 deletions

File tree

src/backup.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ type IBackupTranslatedEnum = TranslateEnumKeys<
6868
export type GetMetadataResponse = [IBackupTranslatedEnum];
6969
type GetMetadataCallback = RequestCallback<IBackupTranslatedEnum>;
7070

71-
type UpdateExpireTimeCallback = RequestCallback<databaseAdmin.spanner.admin.database.v1.IBackup>;
71+
type UpdateExpireTimeCallback = RequestCallback<
72+
databaseAdmin.spanner.admin.database.v1.IBackup
73+
>;
7274

7375
type DeleteCallback = RequestCallback<databaseAdmin.protobuf.IEmpty>;
7476

src/database.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ export type BatchCreateSessionsCallback = ResourceCallback<
205205
>;
206206

207207
export type DatabaseDeleteResponse = [databaseAdmin.protobuf.IEmpty];
208-
export type DatabaseDeleteCallback = NormalCallback<databaseAdmin.protobuf.IEmpty>;
208+
export type DatabaseDeleteCallback = NormalCallback<
209+
databaseAdmin.protobuf.IEmpty
210+
>;
209211

210212
export interface CancelableDuplex extends Duplex {
211213
cancel(): void;
@@ -1292,7 +1294,9 @@ class Database extends common.GrpcServiceObject {
12921294
const reqOpts: databaseAdmin.spanner.admin.database.v1.IGetDatabaseDdlRequest = {
12931295
database: this.formattedName_,
12941296
};
1295-
this.request<databaseAdmin.spanner.admin.database.v1.IGetDatabaseDdlResponse>(
1297+
this.request<
1298+
databaseAdmin.spanner.admin.database.v1.IGetDatabaseDdlResponse
1299+
>(
12961300
{
12971301
client: 'DatabaseAdminClient',
12981302
method: 'getDatabaseDdl',

src/instance.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ export interface CreateDatabaseOptions
8484
export type GetDatabasesOptions = PagedOptions;
8585
export type CreateInstanceCallback = LongRunningCallback<Instance>;
8686
export type CreateDatabaseCallback = LongRunningCallback<Database>;
87-
export type DeleteInstanceCallback = NormalCallback<instanceAdmin.protobuf.IEmpty>;
87+
export type DeleteInstanceCallback = NormalCallback<
88+
instanceAdmin.protobuf.IEmpty
89+
>;
8890

8991
export type ExistsInstanceCallback = NormalCallback<boolean>;
9092
export type GetDatabasesCallback = RequestCallback<

src/session.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ export const enum types {
4949
ReadWrite = 'readwrite',
5050
}
5151

52-
export type GetSessionMetadataCallback = NormalCallback<google.spanner.v1.ISession>;
52+
export type GetSessionMetadataCallback = NormalCallback<
53+
google.spanner.v1.ISession
54+
>;
5355
export type GetSessionMetadataResponse = [google.spanner.v1.ISession];
5456

5557
export type KeepAliveCallback = NormalCallback<google.spanner.v1.IResultSet>;

src/transaction.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ export type BatchUpdateResponse = [
113113
];
114114
export type BeginResponse = [spannerClient.spanner.v1.ITransaction];
115115

116-
export type BeginTransactionCallback = NormalCallback<spannerClient.spanner.v1.ITransaction>;
116+
export type BeginTransactionCallback = NormalCallback<
117+
spannerClient.spanner.v1.ITransaction
118+
>;
117119
export type CommitResponse = [spannerClient.spanner.v1.ICommitResponse];
118120

119121
export type ReadResponse = [Rows];
@@ -151,7 +153,9 @@ export interface RunUpdateCallback {
151153
(err: null | grpc.ServiceError, rowCount: number): void;
152154
}
153155

154-
export type CommitCallback = NormalCallback<spannerClient.spanner.v1.ICommitResponse>;
156+
export type CommitCallback = NormalCallback<
157+
spannerClient.spanner.v1.ICommitResponse
158+
>;
155159

156160
/**
157161
* @typedef {object} TimestampBounds

0 commit comments

Comments
 (0)