Skip to content

Commit 2f978e0

Browse files
committed
Use types import with .ts to keep sync with tests...
1 parent ed5fb4f commit 2f978e0

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
# Default NODE_ENV with vite build --mode=test is production
88
NODE_ENV=development
9-
# VITE_SHADOW_DOM_BUILD=true # Activate this to get demo app into & tests running inside shadow dom
9+
# VITE_SHADOW_DOM_BUILD=true # Activate this option to run the demo app and all tests within the Shadow DOM.

src/components/basic-dropdown-content.gts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import type {
2121
TRootEventType,
2222
HorizontalPosition,
2323
VerticalPosition,
24-
} from '../types';
24+
} from '../types.ts';
2525

2626
export interface BasicDropdownContentSignature<
2727
T extends keyof HTMLElementTagNameMap = 'div',

src/components/basic-dropdown-trigger.gts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import basicDropdownTriggerModifier from '../modifiers/basic-dropdown-trigger.ts
77
import { on } from '@ember/modifier';
88
import { fn } from '@ember/helper';
99
import type { Dropdown } from './basic-dropdown';
10-
import type { HorizontalPosition, VerticalPosition } from '../types';
10+
import type { HorizontalPosition, VerticalPosition } from '../types.ts';
1111

1212
export interface BasicDropdownTriggerSignature<
1313
T extends keyof HTMLElementTagNameMap = 'div',

src/components/basic-dropdown.gts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import type {
2424
DropdownActions,
2525
RepositionChanges,
2626
TRootEventType,
27-
} from '../types';
27+
} from '../types.ts';
2828
import { deprecate } from '@ember/debug';
2929
import { isTesting } from '@embroider/macros';
3030
import { config as utilConfig, _configSet, type Config } from '../config.ts';

src/modifiers/basic-dropdown-trigger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { action } from '@ember/object';
55
import { isDestroyed, registerDestructor } from '@ember/destroyable';
66
import hasMoved from '../utils/has-moved.ts';
77
import type Owner from '@ember/owner';
8-
import type { Dropdown } from '../types';
8+
import type { Dropdown } from '../types.ts';
99

1010
interface Signature {
1111
Element: HTMLElement;

src/utils/calculate-position.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { VerticalPosition, HorizontalPosition } from '../types';
1+
import type { VerticalPosition, HorizontalPosition } from '../types.ts';
22

33
// To avoid breaking the current types export we need this
44
export type { VerticalPosition, HorizontalPosition };

0 commit comments

Comments
 (0)