Skip to content

Commit 24eb717

Browse files
committed
Fix changeset and format
1 parent 6165c9e commit 24eb717

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.changeset/healthy-moons-type.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
'firebase': major
23
'@firebase/ai': major
34
---
45

packages/ai/src/requests/schema-builder.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ describe('Schema builder', () => {
355355
{
356356
type: 'object',
357357
properties: { name: { type: 'string', nullable: false } },
358-
nullable: false,
358+
nullable: false
359359
},
360360
{
361361
type: 'array',

packages/ai/src/requests/schema-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export abstract class Schema implements SchemaInterface {
8888
* @internal
8989
*/
9090
toJSON(): SchemaRequest {
91-
const obj: { type?: SchemaType;[key: string]: unknown } = {
91+
const obj: { type?: SchemaType; [key: string]: unknown } = {
9292
type: this.type
9393
};
9494
for (const prop in this) {

0 commit comments

Comments
 (0)