cofacts / rumors-site

Rumors list / creation UI, with server-side rendering
https://cofacts.tw
MIT License
83 stars 49 forks source link

Fix type for codegen #578

Closed MrOrz closed 2 months ago

MrOrz commented 2 months ago

Current API on master branch actually cannot run npm run typegen. (see discussion)

This PR fixes the issue by converting Thumbnail component to Typescript and define relevant types.

coveralls commented 2 months ago

Coverage Status

coverage: 71.353%. remained the same when pulling 5a2f69c47dc5a47548544fae6e181a3020e258fd on fix-type into 5eddb4f3bcd396e0bd3eff620975946b5fa20681 on master.