Commit 335019d authored and committed Dec 15, 2022 Verified
1 parent bae5e33 commit 335019d Copy full SHA for 335019d
File tree 2 files changed +2
-2
lines changed
addon-test-support/@ember/test-helpers
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ export { default as find } from './dom/find';
69
69
export { default as findAll } from './dom/find-all' ;
70
70
export { default as typeIn } from './dom/type-in' ;
71
71
export { default as scrollTo } from './dom/scroll-to' ;
72
+ export type { default as Target } from './dom/-target' ;
72
73
73
74
// Declaration-merge for our internal purposes.
74
75
declare module '@ember/runloop' {
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ import {
65
65
DebugInfo as InternalDebugInfo ,
66
66
DeprecationFailure ,
67
67
Warning ,
68
+ Target ,
68
69
} from '@ember/test-helpers' ;
69
70
import { ComponentInstance } from '@glimmer/interfaces' ;
70
71
import { Owner } from '@ember/test-helpers/build-owner' ;
@@ -73,8 +74,6 @@ import EmberResolver from 'ember-resolver';
73
74
import Application from '@ember/application' ;
74
75
import { TemplateFactory } from 'ember-cli-htmlbars' ;
75
76
76
- type Target = string | Element | Document | Window ;
77
-
78
77
// DOM Interaction Helpers
79
78
expectTypeOf ( blur ) . toEqualTypeOf < ( target ?: Target ) => Promise < void > > ( ) ;
80
79
expectTypeOf ( click ) . toEqualTypeOf <
You can’t perform that action at this time.
0 commit comments