File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ export function getItems(context: HookContext): any; // any[] | any | undefined;
210
210
* Check which transport provided the service call.
211
211
* {@link https://feathers-plus.github.io/v1/feathers-hooks-common/index.html#IsProvider}
212
212
*/
213
- export function isProvider ( ...transports : TransportName [ ] ) : PredicateFn ;
213
+ export function isProvider ( ...transports : TransportName [ ] ) : SyncContextFunction < boolean > ;
214
214
215
215
/**
216
216
* Keep certain fields in the record(s), deleting the rest.
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ getByDot({}, 'abc.def');
196
196
// $ExpectType any
197
197
getItems ( context1 ) ;
198
198
199
- // $ExpectType PredicateFn
199
+ // $ExpectType SyncContextFunction<boolean>
200
200
isProvider ( ) ;
201
201
202
202
// $ExpectType Hook
You can’t perform that action at this time.
0 commit comments