Skip to content

Commit 2adcfac

Browse files
committed
Fix typing for dropdown
1 parent b6dbd71 commit 2adcfac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ember-basic-dropdown/src/utils/calculate-position.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type BasicDropdown from '../components/basic-dropdown';
2+
13
export type VerticalPosition = 'auto' | 'above' | 'below';
24
export type HorizontalPosition =
35
| 'auto'
@@ -14,8 +16,7 @@ export interface CalculatePositionOptions {
1416
previousHorizontalPosition?: HorizontalPosition | undefined;
1517
previousVerticalPosition?: VerticalPosition | undefined;
1618
renderInPlace: boolean;
17-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
18-
dropdown: any;
19+
dropdown: BasicDropdown;
1920
}
2021
export type CalculatePositionResultStyle = {
2122
top?: number | undefined;

0 commit comments

Comments
 (0)