Skip to content

Commit 6d09674

Browse files
feat: improve type safety in command helpers
Improved the type safety of the `pollForToken` function in `src/utils/command-helpers.ts` by removing the `@ts-expect-error` and adding a type guard to safely handle the error object. Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com>
1 parent 16f814a commit 6d09674

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@netlify/edge-functions": "3.0.3",
7070
"@netlify/edge-functions-bootstrap": "2.17.1",
7171
"@netlify/headers-parser": "9.0.2",
72-
"@netlify/images": "1.2.5",
72+
"@netlify/images": "^1.2.5",
7373
"@netlify/local-functions-proxy": "2.0.3",
7474
"@netlify/redirect-parser": "15.0.3",
7575
"@netlify/zip-it-and-ship-it": "14.2.0",

0 commit comments

Comments
 (0)