Skip to content

Commit 071b510

Browse files
committed
Run formatter
1 parent 906b4fa commit 071b510

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

packages/vertexai/src/api.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ import { getModularInstance } from '@firebase/util';
2121
import { DEFAULT_LOCATION, VERTEX_TYPE } from './constants';
2222
import { VertexAIService } from './service';
2323
import { VertexAI, VertexAIOptions } from './public-types';
24-
import {
25-
ModelParams,
26-
RequestOptions,
27-
VertexAIErrorCode
28-
} from './types';
24+
import { ModelParams, RequestOptions, VertexAIErrorCode } from './types';
2925
import { VertexAIError } from './errors';
3026
import { GenerativeModel } from './models/generative-model';
3127

packages/vertexai/src/errors.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
*/
1717

1818
import { FirebaseError } from '@firebase/util';
19-
import {
20-
VertexAIErrorCode,
21-
CustomErrorData
22-
} from './types';
19+
import { VertexAIErrorCode, CustomErrorData } from './types';
2320
import { VERTEX_TYPE } from './constants';
2421

2522
/**
@@ -38,7 +35,7 @@ export class VertexAIError extends FirebaseError {
3835
constructor(
3936
readonly code: VertexAIErrorCode,
4037
readonly message: string,
41-
readonly customErrorData?: CustomErrorData,
38+
readonly customErrorData?: CustomErrorData
4239
) {
4340
// Match error format used by FirebaseError from ErrorFactory
4441
const service = VERTEX_TYPE;

packages/vertexai/src/types/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface CustomErrorData {
4949

5050
/** HTTP status text of the error response. */
5151
statusText?: string;
52-
52+
5353
/** Response from a {@link GenerateContentRequest} */
5454
response?: GenerateContentResponse;
5555

0 commit comments

Comments
 (0)