mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-21 14:12:42 -05:00
fix: explicit disable any
This commit is contained in:
parent
885482908d
commit
10c6c5bf23
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
||||||
|
|
||||||
import { OpenUIOptions } from '../models/open-ui-options.model';
|
import { OpenUIOptions } from '../models/open-ui-options.model';
|
||||||
import openUIApi from './openUI.api';
|
import openUIApi from './openUI.api';
|
||||||
import z from 'zod';
|
import z from 'zod';
|
||||||
|
@ -8,11 +6,13 @@ type Callback<T> = (message: T) => void;
|
||||||
|
|
||||||
const validEvents = ['pagechange', 'filechange'] as const;
|
const validEvents = ['pagechange', 'filechange'] as const;
|
||||||
|
|
||||||
let uiMessagesCallbacks: Callback<any>[] = [];
|
let uiMessagesCallbacks: Callback<unknown>[] = [];
|
||||||
|
|
||||||
let modal: HTMLElement | null = null;
|
let modal: HTMLElement | null = null;
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
let pageState = {} as any;
|
let pageState = {} as any;
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
let fileState = {} as any;
|
let fileState = {} as any;
|
||||||
|
|
||||||
const eventListeners: Map<string, Callback<unknown>[]> = new Map();
|
const eventListeners: Map<string, Callback<unknown>[]> = new Map();
|
||||||
|
|
Loading…
Add table
Reference in a new issue