mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-09 04:25:57 +00:00
resolve compile time error
This commit is contained in:
8
src/global.d.ts
vendored
8
src/global.d.ts
vendored
@@ -1,6 +1,14 @@
|
||||
import { PageWaitForSelectorOptions } from "expect-playwright";
|
||||
import Explorer from "./Explorer/Explorer";
|
||||
|
||||
declare global {
|
||||
namespace jest {
|
||||
interface Matchers<R> {
|
||||
toHaveFocus(selector: string, options?: PageWaitForSelectorOptions): Promise<R>;
|
||||
toHaveTextContent(htmlElement: string): object;
|
||||
toHaveValue(value: string | string[] | number): object;
|
||||
}
|
||||
}
|
||||
interface Window {
|
||||
/**
|
||||
* @deprecated
|
||||
|
||||
Reference in New Issue
Block a user