Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#70421 @event-calendar/core: Add missing Ev…
Browse files Browse the repository at this point in the history
…entInput field "resourceId" by @syncsynchalt
  • Loading branch information
syncsynchalt authored Sep 4, 2024
1 parent 704fd4b commit 34dabbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/event-calendar__core/event-calendar__core-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ cal.addEvent({
start: new Date(),
end: new Date(Date.now() + 60 * 60 * 1000),
title: "an event",
resourceId: 123,
resourceIds: ["234"],
});
cal.getEventById(234);
cal.getEventById("234");
Expand Down
1 change: 1 addition & 0 deletions types/event-calendar__core/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ declare namespace Calendar {
startEditable?: boolean;
durationEditable?: boolean;
resourceIds?: string | number | Array<string | number>;
resourceId?: string | number | Array<string | number>;
display?: "auto" | "background";
backgroundColor?: string;
textColor?: string;
Expand Down

0 comments on commit 34dabbd

Please sign in to comment.