-
Notifications
You must be signed in to change notification settings - Fork 665
Scheduler: fix ts issues in demos in strict mode #32101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
760ef6a
2061f33
29a51e4
7ee73fa
5320b66
ad42b53
5c56ae1
1f6dbc6
7d7411f
5561ee0
0cfaa06
db6fce9
5862b90
d93462b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,7 +99,7 @@ const data: Appointment[] = [ | |
| endDate: new Date(addDays(currentStartOfTheWeek, 4).setUTCHours(21)), | ||
| }, | ||
| ]; | ||
| export const schedulerDataSource = new DataSource(data); | ||
| export const schedulerDataSource = new DataSource(data) as unknown as DataSource<SchedulerTypes.Appointment>; | ||
|
||
|
|
||
| export const assignees: Assignee[] = [ | ||
| { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the DxElement would be a better option here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I'm trying to use

DxElementthe error persistsProperty 'attr' does not exist on type 'HTMLElement'.I found other way, take a look, please