mirror of https://github.com/laurent22/joplin.git
Plugins: Fix type of PostMessageHandler (#5138)
parent
4ae5108717
commit
3430f0bcae
|
@ -435,7 +435,7 @@ export type Path = string[];
|
|||
// Content Script types
|
||||
// =================================================================
|
||||
|
||||
export type PostMessageHandler = (id: string, message: any)=> Promise<any>;
|
||||
export type PostMessageHandler = (message: any)=> Promise<any>;
|
||||
|
||||
/**
|
||||
* When a content script is initialised, it receives a `context` object.
|
||||
|
|
Loading…
Reference in New Issue