File tree Expand file tree Collapse file tree
addon-test-support/@ember/test-helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ export { default as find } from './dom/find';
6868export { default as findAll } from './dom/find-all' ;
6969export { default as typeIn } from './dom/type-in' ;
7070export { default as scrollTo } from './dom/scroll-to' ;
71+ export type { default as Target } from './dom/-target' ;
7172
7273// Declaration-merge for our internal purposes.
7374declare module '@ember/runloop' {
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ import {
6363 DebugInfo as InternalDebugInfo ,
6464 DeprecationFailure ,
6565 Warning ,
66+ Target ,
6667} from '@ember/test-helpers' ;
6768import { ComponentInstance } from '@glimmer/interfaces' ;
6869import { Owner } from '@ember/test-helpers/build-owner' ;
@@ -71,8 +72,6 @@ import EmberResolver from 'ember-resolver';
7172import Application from '@ember/application' ;
7273import { TemplateFactory } from 'ember-cli-htmlbars' ;
7374
74- type Target = string | Element | Document | Window ;
75-
7675// DOM Interaction Helpers
7776expectTypeOf ( blur ) . toEqualTypeOf < ( target ?: Target ) => Promise < void > > ( ) ;
7877expectTypeOf ( click ) . toEqualTypeOf <
You can’t perform that action at this time.
0 commit comments