The road to zero TypeScript errors (#1756)
* Type fixes * Type fixes * Type fixes * Type fixes Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
798930bf23
commit
5d0ba3dafc
14 files changed
+54
-53
No files matched your search
@@ -8,6 +8,7 @@ import { VideoCallData } from "@lib/videoClient";
|
||||
|
||||
import { NewCalendarEventType } from "../constants/types";
|
||||
import { ConferenceData } from "./GoogleCalendar";
|
||||
import type { Event } from "@lib/events/EventManager";
|
||||
|
||||
export type Person = {
|
||||
name: string;
|
||||
@@ -66,7 +67,7 @@ type EventBusyDate = Record<"start" | "end", Date | string>;
|
||||
export interface Calendar {
|
||||
createEvent(event: CalendarEvent): Promise<NewCalendarEventType>;
|
||||
|
||||
updateEvent(uid: string, event: CalendarEvent): Promise<unknown>;
|
||||
updateEvent(uid: string, event: CalendarEvent): Promise<Event | Event[]>;
|
||||
|
||||
deleteEvent(uid: string, event: CalendarEvent): Promise<unknown>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user