From 8abf6e661b17cdc98722e9f3f1ef1276ca34616f Mon Sep 17 00:00:00 2001 From: Josh Dover Date: Tue, 21 Jan 2020 15:12:40 -0700 Subject: [PATCH] Un-deprecate --- src/core/public/http/types.ts | 2 -- src/core/public/public.api.md | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/public/http/types.ts b/src/core/public/http/types.ts index 6e2ad68d4be599c..97e08033686379b 100644 --- a/src/core/public/http/types.ts +++ b/src/core/public/http/types.ts @@ -252,14 +252,12 @@ export interface HttpFetchOptionsWithPath extends HttpFetchOptions { * @public */ export interface HttpHandler { - /** @deprecated */ (path: string, options: HttpFetchOptions & { asResponse: true }): Promise< HttpResponse >; (options: HttpFetchOptionsWithPath & { asResponse: true }): Promise< HttpResponse >; - /** @deprecated */ (path: string, options?: HttpFetchOptions): Promise; (options: HttpFetchOptionsWithPath): Promise; } diff --git a/src/core/public/public.api.md b/src/core/public/public.api.md index 3f199832df17917..ef23c16ffa02f2c 100644 --- a/src/core/public/public.api.md +++ b/src/core/public/public.api.md @@ -570,7 +570,7 @@ export interface HttpFetchQuery { // @public export interface HttpHandler { - // @deprecated (undocumented) + // (undocumented) (path: string, options: HttpFetchOptions & { asResponse: true; }): Promise>; @@ -578,7 +578,7 @@ export interface HttpHandler { (options: HttpFetchOptionsWithPath & { asResponse: true; }): Promise>; - // @deprecated (undocumented) + // (undocumented) (path: string, options?: HttpFetchOptions): Promise; // (undocumented) (options: HttpFetchOptionsWithPath): Promise;