File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ function loadServiceEventHandlers<
9
9
M ,
10
10
> (
11
11
service : FeathersService < CustomApplication , ServiceTypes < CustomApplication > [ T ] > ,
12
- _id : Ref < Id | undefined > ,
12
+ _id : Ref < Id | undefined | null > ,
13
13
data : Ref < M | undefined > ,
14
14
) : ( ) => void {
15
15
const onCreated = ( item : M ) : void => {
@@ -64,13 +64,13 @@ export type UseGetFunc<CustomApplication> = <
64
64
M = ServiceModel < CustomApplication , T > ,
65
65
> (
66
66
serviceName : T ,
67
- _id : Ref < Id | undefined > ,
67
+ _id : Ref < Id | undefined | null > ,
68
68
) => UseGet < M > ;
69
69
70
70
export default < CustomApplication extends Application > ( feathers : CustomApplication ) =>
71
71
< T extends keyof ServiceTypes < CustomApplication > , M = ServiceModel < CustomApplication , T > > (
72
72
serviceName : T ,
73
- _id : Ref < Id | undefined > ,
73
+ _id : Ref < Id | undefined | null > ,
74
74
{ disableUnloadingEventHandlers } = { disableUnloadingEventHandlers : false } ,
75
75
) : UseGet < M > => {
76
76
const data = ref < M > ( ) ;
You can’t perform that action at this time.
0 commit comments