Commit cfc375f 1 parent f1c1d5f commit cfc375f Copy full SHA for cfc375f
File tree 3 files changed +27
-6
lines changed
ember-power-calendar/src/components
3 files changed +27
-6
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,15 @@ interface PowerCalendarMultipleArgs
54
54
}
55
55
56
56
interface PowerCalendarMultipleDefaultBlock extends PowerCalendarMultipleAPI {
57
- Nav : ComponentLike < PowerCalendarNavSignature > ;
58
- Days : ComponentLike < PowerCalendarMultipleDaysSignature > ;
57
+ Nav : ComponentLike < {
58
+ Args : Omit < PowerCalendarNavSignature [ 'Args' ] , 'calendar' > ;
59
+ Blocks : PowerCalendarNavSignature [ 'Blocks' ] ;
60
+ } > ;
61
+ Days : ComponentLike < {
62
+ Element : PowerCalendarMultipleDaysSignature [ 'Element' ] ;
63
+ Args : Omit < PowerCalendarMultipleDaysSignature [ 'Args' ] , 'calendar' > ;
64
+ Blocks : PowerCalendarMultipleDaysSignature [ 'Blocks' ] ;
65
+ } > ;
59
66
}
60
67
61
68
interface PowerCalendarMultipleSignature {
Original file line number Diff line number Diff line change @@ -59,8 +59,15 @@ interface PowerCalendarRangeArgs
59
59
}
60
60
61
61
export interface PowerCalendarRangeDefaultBlock extends PowerCalendarRangeAPI {
62
- Nav : ComponentLike < PowerCalendarNavSignature > ;
63
- Days : ComponentLike < PowerCalendarRangeDaysSignature > ;
62
+ Nav : ComponentLike < {
63
+ Args : Omit < PowerCalendarNavSignature [ 'Args' ] , 'calendar' > ;
64
+ Blocks : PowerCalendarNavSignature [ 'Blocks' ] ;
65
+ } > ;
66
+ Days : ComponentLike < {
67
+ Element : PowerCalendarRangeDaysSignature [ 'Element' ] ;
68
+ Args : Omit < PowerCalendarRangeDaysSignature [ 'Args' ] , 'calendar' > ;
69
+ Blocks : PowerCalendarRangeDaysSignature [ 'Blocks' ] ;
70
+ } > ;
64
71
}
65
72
66
73
interface PowerCalendarRangeSignature {
Original file line number Diff line number Diff line change @@ -89,8 +89,15 @@ export interface PowerCalendarArgs {
89
89
}
90
90
91
91
export interface PowerCalendarDefaultBlock extends PowerCalendarAPI {
92
- Nav : ComponentLike < PowerCalendarNavSignature > ;
93
- Days : ComponentLike < PowerCalendarDaysSignature > ;
92
+ Nav : ComponentLike < {
93
+ Args : Omit < PowerCalendarNavSignature [ 'Args' ] , 'calendar' > ;
94
+ Blocks : PowerCalendarNavSignature [ 'Blocks' ] ;
95
+ } > ;
96
+ Days : ComponentLike < {
97
+ Element : PowerCalendarDaysSignature [ 'Element' ] ;
98
+ Args : Omit < PowerCalendarDaysSignature [ 'Args' ] , 'calendar' > ;
99
+ Blocks : PowerCalendarDaysSignature [ 'Blocks' ] ;
100
+ } > ;
94
101
}
95
102
96
103
export type CalendarDay =
You can’t perform that action at this time.
0 commit comments