chore(routes/electron): disable lint rule for specific line

in this case using "{}" allows all primitive values, which seems to be what is required here.
so let's disable the rule "@typescript-eslint/no-empty-object-type" for this line
This commit is contained in:
Panagiotis Papadopoulos 2025-03-08 00:54:29 +01:00
parent b56ff558a4
commit 91c37fa235

View File

@ -7,7 +7,7 @@ interface Response {
setHeader: (name: string, value: string) => Response;
header: (name: string, value: string) => Response;
status: (statusCode: number) => Response;
send: (obj: {}) => void;
send: (obj: {}) => void; // eslint-disable-line @typescript-eslint/no-empty-object-type
}
function init(app: Application) {