mirror of
https://github.com/zadam/trilium.git
synced 2026-02-17 19:24:28 +01:00
chore(commons): fix Node reference
This commit is contained in:
parent
d717a89163
commit
c8d3b091fd
@ -55,10 +55,6 @@ export function trimIndentation(strings: TemplateStringsArray, ...values: any[])
|
|||||||
return output.join("\n");
|
return output.join("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
export function flushPromises() {
|
|
||||||
return new Promise(setImmediate);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function sleepFor(duration: number) {
|
export function sleepFor(duration: number) {
|
||||||
return new Promise(resolve => setTimeout(resolve, duration));
|
return new Promise(resolve => setTimeout(resolve, duration));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./out-tsc/vitest",
|
"outDir": "./out-tsc/vitest",
|
||||||
"types": [
|
"types": [
|
||||||
"vitest"
|
"vitest",
|
||||||
|
"node"
|
||||||
],
|
],
|
||||||
"forceConsistentCasingInFileNames": true
|
"forceConsistentCasingInFileNames": true
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user