mirror of
https://github.com/laurent22/joplin.git
synced 2025-03-26 21:12:59 +02:00
Plugins: Fix type of PostMessageHandler (#5138)
This commit is contained in:
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…
x
Reference in New Issue
Block a user