Skip to content

Commit 0422b16

Browse files
committed
chore: formatting
1 parent ab3e972 commit 0422b16

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

azure.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: azure-search-openai-javascript
44
metadata:
55
66
requiredVersions:
7-
azd: ">= 1.10.0"
7+
azd: '>= 1.10.0'
88

99
services:
1010
webapp:

packages/search/src/routes/root.ts

+6-7
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ import { type SchemaTypes } from '../plugins/schemas.js';
99
const __dirname = path.dirname(fileURLToPath(import.meta.url));
1010

1111
const root: FastifyPluginAsync = async (_fastify, _options): Promise<void> => {
12-
const fastify =
13-
_fastify.withTypeProvider<
14-
JsonSchemaToTsProvider<{
15-
ValidatorSchemaOptions: { references: SchemaTypes };
16-
SerializerSchemaOptions: { references: SchemaTypes };
17-
}>
18-
>();
12+
const fastify = _fastify.withTypeProvider<
13+
JsonSchemaToTsProvider<{
14+
ValidatorSchemaOptions: { references: SchemaTypes };
15+
SerializerSchemaOptions: { references: SchemaTypes };
16+
}>
17+
>();
1918

2019
fastify.get('/', async function (_request, _reply) {
2120
const packageJson = JSON.parse(await fs.readFile(path.join(__dirname, '../../package.json'), 'utf8'));

packages/webapp/tsconfig.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
22
"files": [],
3-
"references": [
4-
{ "path": "./tsconfig.app.json" },
5-
{ "path": "./tsconfig.node.json" }
6-
]
3+
"references": [{ "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" }]
74
}

0 commit comments

Comments
 (0)