Skip to content

Commit

Permalink
fix: fix DateOrString diff in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adelsz committed Sep 26, 2023
1 parent 26254af commit 4b0ee03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/example/src/notifications/notifications.queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { PreparedQuery } from '@pgtyped/runtime';

export type notification_type = 'deadline' | 'notification' | 'reminder';

export type DateOrString = Date | string;

export type Json = null | boolean | number | string | Json[] | { [key: string]: Json };

/** 'SendNotifications' parameters type */
Expand Down Expand Up @@ -39,7 +41,7 @@ export const sendNotifications = new PreparedQuery<ISendNotificationsParams,ISen

/** 'GetNotifications' parameters type */
export interface IGetNotificationsParams {
date: Date | string;
date: DateOrString;
userId?: number | null | void;
}

Expand Down

0 comments on commit 4b0ee03

Please sign in to comment.