diff --git a/types/wpapi/index.d.ts b/types/wpapi/index.d.ts index 309b613599..62d4583042 100644 --- a/types/wpapi/index.d.ts +++ b/types/wpapi/index.d.ts @@ -25,7 +25,7 @@ declare class WPAPI { * * @param url A URL within a REST API-enabled WordPress website */ - discover(url: string): Promise; + static discover(url: string): Promise; /** Start a request against /categories endpoint */ categories(): WPAPI.WPRequest;