mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
client-ts: Port services/app/app_context
This commit is contained in:
@@ -100,10 +100,10 @@ function isCtrlKey(evt: KeyboardEvent) {
|
||||
|| (isMac() && evt.metaKey);
|
||||
}
|
||||
|
||||
function assertArguments() {
|
||||
for (const i in arguments) {
|
||||
if (!arguments[i]) {
|
||||
console.trace(`Argument idx#${i} should not be falsy: ${arguments[i]}`);
|
||||
function assertArguments(...args: string[]) {
|
||||
for (const i in args) {
|
||||
if (!args[i]) {
|
||||
console.trace(`Argument idx#${i} should not be falsy: ${args[i]}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user