Skip to content

Commit cf0a3d2

Browse files
style(fastify): let to const, address lint error
1 parent 836484d commit cf0a3d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/platform-fastify/adapters/fastify-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export class FastifyAdapter<
226226
public listen(port: string | number, ...args: any[]): void {
227227
const isFirstArgTypeofFunction = typeof args[0] === 'function';
228228
const callback = isFirstArgTypeofFunction ? args[0] : args[1];
229-
let options: Record<string, any> = {
229+
const options: Record<string, any> = {
230230
port: +port,
231231
};
232232
if (!isFirstArgTypeofFunction) {

0 commit comments

Comments
 (0)