refactor(types): unnecessary any

This commit is contained in:
Elian Doran 2025-03-19 20:17:43 +02:00
parent d0948727df
commit 68f212a679
No known key found for this signature in database

View File

@ -16,7 +16,7 @@ export default class Mutex {
return newPromise;
}
async runExclusively(cb: () => Promise<any>) {
async runExclusively<T>(cb: () => Promise<T>) {
const unlock = await this.lock();
try {