We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 836484d commit cf0a3d2Copy full SHA for cf0a3d2
1 file changed
packages/platform-fastify/adapters/fastify-adapter.ts
@@ -226,7 +226,7 @@ export class FastifyAdapter<
226
public listen(port: string | number, ...args: any[]): void {
227
const isFirstArgTypeofFunction = typeof args[0] === 'function';
228
const callback = isFirstArgTypeofFunction ? args[0] : args[1];
229
- let options: Record<string, any> = {
+ const options: Record<string, any> = {
230
port: +port,
231
};
232
if (!isFirstArgTypeofFunction) {
0 commit comments