mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 21:49:04 +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;
|
return newPromise;
|
||||||
}
|
}
|
||||||
|
|
||||||
async runExclusively(cb: () => Promise<any>) {
|
async runExclusively<T>(cb: () => Promise<T>) {
|
||||||
const unlock = await this.lock();
|
const unlock = await this.lock();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user