mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Removed dexpect because of linting error
This commit is contained in:
Vendored
+6
-6
@@ -435,10 +435,10 @@ declare global {
|
||||
}
|
||||
}
|
||||
|
||||
// `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.
|
||||
declare const dexpect: Detox.Expect<Detox.Expect<any>>;
|
||||
export { by, detox, device, element, waitFor };
|
||||
|
||||
export { by, detox, device, element, dexpect as expect, waitFor };
|
||||
// Not exporting the global `expect` from the top of the file here
|
||||
// because `expect` conflicts with the global `expect` of jest and
|
||||
// therefore exporting it doesn't work. The global `expect` is kept
|
||||
// for backwards compatibility though.
|
||||
export const expect: Detox.Expect<Detox.Expect<any>>;
|
||||
|
||||
Reference in New Issue
Block a user