Commit 6d09674
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
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments