@@ -6,8 +6,12 @@ import { assert } from '@ember/debug';
6
6
import { isArray } from '@ember/array' ;
7
7
import { action } from '@ember/object' ;
8
8
import { task } from 'ember-concurrency' ;
9
- import PowerCalendarMultipleDaysComponent from './power-calendar-multiple/days.ts' ;
10
- import PowerCalendarNavComponent from './power-calendar/nav.ts' ;
9
+ import PowerCalendarMultipleDaysComponent , {
10
+ type PowerCalendarMultipleDaysSignature ,
11
+ } from './power-calendar-multiple/days.ts' ;
12
+ import PowerCalendarNavComponent , {
13
+ type PowerCalendarNavSignature ,
14
+ } from './power-calendar/nav.ts' ;
11
15
import { publicActionsObject } from '../-private/utils.ts' ;
12
16
import {
13
17
normalizeDate ,
@@ -33,7 +37,7 @@ import type PowerCalendarService from '../services/power-calendar.ts';
33
37
export interface PowerCalendarMultipleAPI
34
38
extends Omit < PowerCalendarAPI , 'selected' | 'DaysComponent' > {
35
39
selected ?: Date [ ] ;
36
- DaysComponent : ComponentLike < PowerCalendarMultipleDaysComponent > ;
40
+ DaysComponent : ComponentLike < PowerCalendarMultipleDaysSignature > ;
37
41
}
38
42
39
43
export type TPowerCalendarMultipleOnSelect = (
@@ -45,13 +49,13 @@ export type TPowerCalendarMultipleOnSelect = (
45
49
interface PowerCalendarMultipleArgs
46
50
extends Omit < PowerCalendarArgs , 'selected' | 'daysComponent' | 'onSelect' > {
47
51
selected ?: Date [ ] ;
48
- daysComponent ?: string | ComponentLike < PowerCalendarMultipleDaysComponent > ;
52
+ daysComponent ?: string | ComponentLike < PowerCalendarMultipleDaysSignature > ;
49
53
onSelect ?: TPowerCalendarMultipleOnSelect ;
50
54
}
51
55
52
56
interface PowerCalendarMultipleDefaultBlock extends PowerCalendarMultipleAPI {
53
- Nav : ComponentLike < PowerCalendarNavComponent > ;
54
- Days : ComponentLike < PowerCalendarMultipleDaysComponent > ;
57
+ Nav : ComponentLike < PowerCalendarNavSignature > ;
58
+ Days : ComponentLike < PowerCalendarMultipleDaysSignature > ;
55
59
}
56
60
57
61
interface PowerCalendarMultipleSignature {
0 commit comments