dom-testing-library version: 3.11.2
Relevant code or config:

What you did:
Used queryByTestId in typescript
What happened:
VSCode gives error that more arguments are expected
Problem description:
Looks like queryByTestId uses the queryByAttribute type: https://github.com/kentcdodds/dom-testing-library/blob/master/typings/queries.d.ts#L52, even thought the attribute argument is automatically bound: https://github.com/kentcdodds/dom-testing-library/blob/master/src/queries.js#L153.
Suggested solution:
Add a new type or pick the keys off the queryByAttribute type.
dom-testing-libraryversion: 3.11.2Relevant code or config:
What you did:
Used
queryByTestIdin typescriptWhat happened:
VSCode gives error that more arguments are expected
Problem description:
Looks like
queryByTestIduses thequeryByAttributetype: https://github.com/kentcdodds/dom-testing-library/blob/master/typings/queries.d.ts#L52, even thought theattributeargument is automatically bound: https://github.com/kentcdodds/dom-testing-library/blob/master/src/queries.js#L153.Suggested solution:
Add a new type or pick the keys off the
queryByAttributetype.