mirror of
https://github.com/codex-team/editor.js
synced 2024-06-02 14:02:17 +02:00
update types
This commit is contained in:
parent
792eea612e
commit
047a88e9b8
|
@ -274,8 +274,8 @@ export default class Tools extends Module {
|
|||
* @param config - tools config
|
||||
*/
|
||||
private getListOfPrepareFunctions(config: {[name: string]: ToolSettings}): {
|
||||
function: (data: { toolName: string }) => void | Promise<void>;
|
||||
data: { toolName: string };
|
||||
function: (data: { toolName: string; config: ToolConfig }) => void | Promise<void>;
|
||||
data: { toolName: string; config: ToolConfig };
|
||||
}[] {
|
||||
const toolPreparationList: {
|
||||
function: (data: { toolName: string }) => void | Promise<void>;
|
||||
|
|
Loading…
Reference in a new issue