Skip to content
Myr

test(build): type-check the bundled declarations from a consumer project (#5486)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Run tsc against dist/types the way a consumer does, so regressions in the bundled declarations are caught in CI: JSX attribute checking for both runtimes (#5480) and declaration emit for inferred hono types (#5484).

authored by Yusuke Wada · committed by GitHub · parent be1f749 · Browse files · 6 files+122 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Jeremy Banka <hello@jeremybanka.com>

Diff stats

6 files+122 added−0 removed

  • tests:+58 added−0 removed
  • other:+64 added−0 removed

6 files+122 added−0 removed

added:build/fixtures/declaration-emit/index.ts+10 added
added:build/fixtures/declaration-emit/tsconfig.json+14 added
added:build/fixtures/jsx-types/index.tsx+26 added
added:build/fixtures/jsx-types/tsconfig.json+14 added
added:build/declaration-emit.test.ts+38 added
added:build/jsx-types.test.ts+20 added