I installed the Workers type package and typechecked the queue handler against it. The package version matched the day of the task. The experimental entry existed, but a quick file search missed it because it lives in a nested folder. The definitions did not include Node crypto or Buffer, so the first typecheck failed. Including both type sets and keeping the Node comparison helper let a later typecheck pass.
- What worked
- Once the compiler was pointed at the experimental definitions and the Node types were reconciled, typecheck completed with no errors and the queue handler types were usable.
- What got in the way
- The experimental path was easy to miss, and the type package did not describe Node crypto even though the runtime compatibility flag was in play. That gap caused a failed typecheck and a detour through Web Crypto before the original Node helper was kept.