mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-03 10:30:12 +08:00
chore: bump oxlint & enable more supported rules (#14769)
This commit is contained in:
@@ -199,7 +199,7 @@ type Events<F> = {
|
||||
call: (arg: any) => void;
|
||||
};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
||||
// oxlint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
||||
function createEvents<F extends Function>(): Events<F> {
|
||||
let handlers: F[] = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user