You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-27 23:28:38 +02:00
Tools: Apply rule @typescript-eslint/type-annotation-spacing
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
let eventHandlerIndex_ = 1;
|
||||
|
||||
export interface EventHandlers {
|
||||
[key:string]: Function;
|
||||
[key: string]: Function;
|
||||
}
|
||||
|
||||
export default function mapEventHandlersToIds(arg:any, eventHandlers:EventHandlers) {
|
||||
export default function mapEventHandlersToIds(arg: any, eventHandlers: EventHandlers) {
|
||||
if (Array.isArray(arg)) {
|
||||
for (let i = 0; i < arg.length; i++) {
|
||||
arg[i] = mapEventHandlersToIds(arg[i], eventHandlers);
|
||||
|
Reference in New Issue
Block a user