We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
emberjs
Learn more about funding links in repositories.
Report abuse
1 parent 939f29f commit 64f40d5Copy full SHA for 64f40d5
type-tests/api.ts
@@ -63,6 +63,7 @@ import {
63
DebugInfo as InternalDebugInfo,
64
DeprecationFailure,
65
Warning,
66
+ tab,
67
} from '@ember/test-helpers';
68
import { ComponentInstance } from '@glimmer/interfaces';
69
import { Owner } from '@ember/test-helpers/build-owner';
@@ -95,6 +96,15 @@ expectTypeOf(select).toEqualTypeOf<
95
96
keepPreviouslySelected?: boolean
97
) => Promise<void>
98
>();
99
+expectTypeOf(tab).toEqualTypeOf<
100
+ ({
101
+ backwards,
102
+ unRestrainTabIndex,
103
+ }?: {
104
+ backwards?: boolean | undefined;
105
+ unRestrainTabIndex?: boolean | undefined;
106
+ }) => Promise<void>
107
+>();
108
expectTypeOf(tap).toEqualTypeOf<
109
(target: Target, options?: TouchEventInit) => Promise<void>
110
0 commit comments