Skip to content

Commit c876b1a

Browse files
author
Ali Nasserzadeh
committed
Adjusted the types to pass dtslint (removed unneeded jsdoc)
1 parent 4184bb9 commit c876b1a

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

types/index.d.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
// Type definitions for @testing-library/dom 7.0
2-
// Project: https://github.com/testing-library/dom-testing-library
3-
// Definitions by: Alex Krolick <https://github.com/alexkrolick>
4-
// Kent C Dodds <https://github.com/kentcdodds>
5-
// Sebastian Silbermann <https://github.com/eps1lon>
6-
// Weyert de Boer <https://github.com/weyert>
7-
// Ronald Rey <https://github.com/reyronald>
8-
// Justin Hall <https://github.com/wKovacs64>
9-
// Wesley Tsai <https://github.com/wezleytsai>
10-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
111
// TypeScript Version: 3.1
122

133
import { getQueriesForElement } from './get-queries-for-element';

types/queries.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export interface ByRoleOptions extends MatcherOptions {
5151
* If true includes elements in the query set that are usually excluded from
5252
* the accessibility tree. `role="none"` or `role="presentation"` are included
5353
* in either case.
54-
* @default false
5554
*/
5655
hidden?: boolean;
5756
/**

types/role-helpers.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ export function logRoles(container: HTMLElement): string;
22
export function getRoles(container: HTMLElement): { [index: string]: HTMLElement[] };
33
/**
44
* https://testing-library.com/docs/dom-testing-library/api-helpers#isinaccessible
5-
* @param element
65
*/
76
export function isInaccessible(element: Element): boolean;

0 commit comments

Comments
 (0)