Commit 8f0c815
committed
Fix ESLint error: disable consistent-type-assertions for wrapper
TypeScript has a bug with duplicate Tool types from node_modules that
makes type inference fail with spread operator. The 'as' assertion is
necessary here and is actually safer than building the object manually.
Disable the ESLint rule for this specific case.1 parent 94e550a commit 8f0c815
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments