mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 20:19:05 +01:00
refactor(types): unnecessary any
This commit is contained in:
parent
d0948727df
commit
68f212a679
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user