mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Add comment for new dexpect constant.
This commit is contained in:
Vendored
+6
@@ -8,6 +8,12 @@ declare global {
|
||||
const device: Detox.Device;
|
||||
const element: Detox.Element;
|
||||
const waitFor: Detox.WaitFor;
|
||||
/**
|
||||
* `dexpect` ("Detox-expect") intentionally has the same type as `expect`.
|
||||
* `expect` conflicts with the global `expect` of jest and therefore
|
||||
* exporting it doesn't work which is why `dexpect` was introduced. `expect`
|
||||
* is kept for backwards compatibility.
|
||||
*/
|
||||
const dexpect: Detox.Expect<Detox.Expect<any>>;
|
||||
const expect: Detox.Expect<Detox.Expect<any>>;
|
||||
const by: Detox.Matchers;
|
||||
|
||||
Reference in New Issue
Block a user