Skip to content

Commit

Permalink
Use Awaited type to avoide Promise<Promise<T>>
Browse files Browse the repository at this point in the history
  • Loading branch information
urbanfly committed Dec 5, 2024
1 parent 4b5fcd4 commit 1a6a326
Show file tree
Hide file tree
Showing 3 changed files with 1,309 additions and 1,841 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"devDependencies": {
"@types/jest": "^27.0.2",
"all-contributors-cli": "^6.20.0",
"jest": "^27.3.1",
"microbundle": "^0.12.4",
"jest": "^29",
"microbundle": "^0.15",
"np": "^7.5.0",
"prettier": "^2.4.1",
"ts-jest": "^27.0.7",
"tsd": "^0.18.0",
"typescript": "^4.4.4"
"ts-jest": "^29",
"tsd": "^0.31",
"typescript": "^4.5"
},
"scripts": {
"build": "microbundle && cp ./src/index.test-d.ts ./dist/src/",
Expand Down
Loading

0 comments on commit 1a6a326

Please sign in to comment.