mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
wpapi: discover() should be static function
This commit is contained in:
Vendored
+1
-1
@@ -25,7 +25,7 @@ declare class WPAPI {
|
||||
*
|
||||
* @param url A URL within a REST API-enabled WordPress website
|
||||
*/
|
||||
discover(url: string): Promise<WPAPI>;
|
||||
static discover(url: string): Promise<WPAPI>;
|
||||
|
||||
/** Start a request against /categories endpoint */
|
||||
categories(): WPAPI.WPRequest;
|
||||
|
||||
Reference in New Issue
Block a user