From 05937f555c2d0213a58bd8b52b7b6ecba154f296 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Thu, 17 Jan 2019 14:53:14 -0800 Subject: [PATCH] Allow feathersjs rest-client to be called w/o parameters The feathersjs rest-client can be used in the browser with no parameters. See: https://docs.feathersjs.com/api/client/rest.htmls --- types/feathersjs__rest-client/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/feathersjs__rest-client/index.d.ts b/types/feathersjs__rest-client/index.d.ts index 22e5f1084b..65fdc93707 100644 --- a/types/feathersjs__rest-client/index.d.ts +++ b/types/feathersjs__rest-client/index.d.ts @@ -5,7 +5,7 @@ // todo: get rid of all the anys -export default function feathersRestClient(base: string): Transport; +export default function feathersRestClient(base?: string): Transport; export interface HandlerResult extends Function { /**