Skip to content

Commit

Permalink
changed interface to allow returning null (#4674)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonidoo authored Oct 24, 2024
1 parent f2e3e6c commit 997d498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/core/superdesk-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2291,7 +2291,7 @@ declare module 'superdesk-api' {
export interface ILiveQueryProps<T extends IBaseRestApiResponse> {
resource: string;
query: ISuperdeskQuery;
children: (result: IRestApiResponse<T>) => JSX.Element;
children: (result: IRestApiResponse<T>) => React.ReactNode;
}

export interface ILiveResourcesProps {
Expand Down

0 comments on commit 997d498

Please sign in to comment.