Skip to content

Commit 1b544a0

Browse files
committed
chore(api-server): one-line doc comments
1 parent f60e47c commit 1b544a0

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

packages/api-server/src/createServerHelpers.ts

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,10 @@ export interface Server extends FastifyInstance {
1717
}
1818

1919
export interface CreateServerOptions {
20-
/**
21-
* The prefix for all routes. Defaults to `/`.
22-
*/
20+
/** The prefix for all routes. Defaults to `/` */
2321
apiRootPath?: string
2422

25-
/**
26-
* Logger instance or options.
27-
*/
23+
/** Logger instance or options */
2824
logger?: FastifyServerOptions['logger']
2925

3026
/**
@@ -33,14 +29,10 @@ export interface CreateServerOptions {
3329
*/
3430
fastifyServerOptions?: Omit<FastifyServerOptions, 'logger'>
3531

36-
/**
37-
* Customise the API server fastify plugin before it is registered
38-
*/
32+
/** Customise the API server fastify plugin before it is registered */
3933
configureApiServer?: (server: Server) => void | Promise<void>
4034

41-
/**
42-
* Whether to parse args or not. Defaults to `true`.
43-
*/
35+
/** Whether to parse args or not. Defaults to `true` */
4436
parseArgs?: boolean
4537
}
4638

0 commit comments

Comments
 (0)