diff --git a/templates/app-ts/src/app.ts b/templates/app-ts/src/app.ts index c66bd714..58aabb66 100644 --- a/templates/app-ts/src/app.ts +++ b/templates/app-ts/src/app.ts @@ -1,12 +1,10 @@ import { join } from 'path'; import AutoLoad, {AutoloadPluginOptions} from '@fastify/autoload'; -import { FastifyPluginAsync } from 'fastify'; - -export type AppOptions = { - // Place your custom options for app below here. -} & Partial; +import { FastifyPluginAsync, FastifyServerOptions } from 'fastify'; +export interface AppOptions extends FastifyServerOptions, Partial { +} // Pass --options via CLI arguments in command to enable these options. const options: AppOptions = { }