Plugins: Fix type of PostMessageHandler (#5138)

pull/5137/head
John Freeman 2021-07-06 08:00:51 -05:00 committed by GitHub
parent 4ae5108717
commit 3430f0bcae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.