Skip to content

Commit af15dd9

Browse files
authored
fix(TS): incorrect imports in types (#556)
1 parent 678f4da commit af15dd9

5 files changed

+4
-5
lines changed

types/get-queries-for-element.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Matcher } from './matches';
21
import * as queries from './queries';
32

43
export type BoundFunction<T> = T extends (

types/queries.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Matcher, MatcherOptions } from './matches';
22
import { SelectorMatcherOptions } from './query-helpers';
3-
import { waitForOptions } from 'wait-for';
3+
import { waitForOptions } from './wait-for';
44

55
export type QueryByBoundAttribute = (
66
container: HTMLElement,

types/wait-for-dom-change.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { waitForOptions } from "index";
1+
import { waitForOptions } from "./wait-for";
22

33
export function waitForDomChange(options?: waitForOptions): Promise<any>;

types/wait-for-element-to-be-removed.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { waitForOptions } from "wait-for";
1+
import { waitForOptions } from "./wait-for";
22

33
export function waitForElementToBeRemoved<T>(
44
callback: (() => T) | T,

types/wait-for-element.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { waitForOptions } from "wait-for";
1+
import { waitForOptions } from "./wait-for";
22

33
export function waitForElement<T>(callback: () => T, options?: waitForOptions): Promise<T>;

0 commit comments

Comments
 (0)