mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08:00
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:
parent
b56ff558a4
commit
91c37fa235
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user