🚀 Feature: Allow specifying multiple possible types with || #109
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: feature
New enhancement or request
Milestone
Bug Report Checklist
main
branch of the repository.Overview
Splitting out from microsoft/DefinitelyTyped-tools#858 (comment):
@definitelytyped/expect
allows comments to specify multiple allowed type candidates with||
. https://github.com/microsoft/DefinitelyTyped-tools/blob/42484ff245f6f18018de729f12c9a28436daa08a/packages/eslint-plugin/src/rules/expect.ts#L466That's useful in particular when testing across TS versions (#107). Let's bring the feature in here!
Additional Info
No response
The text was updated successfully, but these errors were encountered: