google / sxg-rs

A set of tools for generating signed exchanges at serve time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix TypeScript warnings

twifkak opened this issue · comments

Eliminate the TS warnings emitted by rollup, either by rolling back #114 and setting a <3 version constraint on @cloudflare/workers-types, or by fixing forward somehow (if easy).

Also, change unit-tests.yml to run rollup with --failAfterWarnings so that this is caught by the CI in the future.

Perhaps this article has a clue on how to fix forward. Otherwise, it seems not to be a high-severity bug; the Cloudflare Workers runtime is supposed to be backwards-compatible so it's just a change in the .d.ts files I guess.