Type src/ against API and database shapes, fixing implicit anys #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "types/implicit-any"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes every implicit-any error in
src/:pnpm exec tsc --noEmit --noImplicitAnynow reports none (the repo config hasnoImplicitAny: false, so plaintsc --noEmitdoesn't show them).pnpm buildpasses.How
.d.tsdeclarations beside the untyped JS modules imported from TS:api.js,navConfig.js,adminSchema.js,adminNav.js,src/data/*.js. Import paths are unchanged.content.js,panel.js,admin.js,admin-entities.js, and the table definitions/CHECKs in the migrations.get/post/patch/delreturnunknownunless the caller names the response type.useContent.ts(OrganizationListItem,EventListItem,RegionArea).defineSection()insections.tsxchecks each manifest entry'spropsagainst its ownComponent; Community and Retreats use it.anyadded.Behaviour changes
splitLinkssends both as bare strings, butuseContent.tstyped them (andinstagram) asLinkobjects. Types corrected; website is now a "Website" button and email amailto:link showing the address.FALLBACK_COLORinstead of painting its tiles black.The seven remaining non-implicit-any errors are fixed in #4.
Not checked in a browser; there is no test suite.
🤖 Generated with Claude Code
Type src/ against API and database shapes, fixing implicit anysto Type src/ against API and database shapes; clear all tsc errorsType src/ against API and database shapes; clear all tsc errorsto Type src/ against API and database shapes, fixing implicit anys