Skip to content

Commit

Permalink
fit(TS): Update TypeScript definitions for getQueriesForElement change (
Browse files Browse the repository at this point in the history
  • Loading branch information
pbomb authored and Kent C. Dodds committed May 17, 2018
1 parent 7d7dd7a commit 597ee1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -8,7 +8,7 @@ Thanks for being willing to contribute!
## Project setup

1. Fork and clone the repo
2. Run `npm run setup -s` to install dependencies and run validation
2. Run `npm run setup` to install dependencies and run validation
3. Create a branch for your PR with `git checkout -b pr/your-branch-name`

> Tip: Keep your `master` branch pointing at the original repository and make
Expand Down
Expand Up @@ -10,6 +10,6 @@ export type BoundFunction<T> = T extends (
: never
export type BoundFunctions<T> = {[P in keyof T]: BoundFunction<T[P]>}

export function bindElementToQueries(
export function getQueriesForElement(
element: HTMLElement,
): BoundFunctions<typeof queries>
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -9,5 +9,5 @@ export * from './wait-for-element'
export * from './matches'
export * from './get-node-text'
export * from './events'
export * from './bind-element-to-queries'
export * from './get-queries-for-element'
export * from './pretty-dom'

0 comments on commit 597ee1c

Please sign in to comment.