Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 3, 2024
1 parent 20370f1 commit 00416b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion index.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import {expectType} from 'tsd';
import {isMatch, firstMatch, matches, type Match} from './index.js';
import {
isMatch,
firstMatch,
matches,
type Match,
} from './index.js';

expectType<boolean>(isMatch(/\d/, '1', {timeout: 1000}));
expectType<Match | undefined>(firstMatch(/\d/, '1', {timeout: 1000}));
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"time-span": "^5.1.0"
},
"devDependencies": {
"ava": "^5.3.1",
"tsd": "^0.29.0",
"xo": "^0.56.0"
"ava": "^6.1.2",
"tsd": "^0.31.0",
"xo": "^0.58.0"
}
}

0 comments on commit 00416b1

Please # to comment.