Convert notable-contributors-page/ContributorSocialLinks to TypeScript

What does this MR do and why?

Convert notable-contributors-page/ContributorSocialLinks.vue and its spec to TypeScript.

Part of &33. Closes #878 (closed)

What changed

  • Switched ContributorSocialLinks.vue to <script setup lang="ts">.
  • Typed Contributor interface and contributors prop with defineProps<{ contributors: Contributor[] }>().
  • Renamed ContributorSocialLinks.spec.js to ContributorSocialLinks.spec.ts using git mv.
  • Typed createWrapper in ContributorSocialLinks.spec.ts.

Behaviour changes

None.

Verification

Passed from contributors/:

npm run typecheck && npm run lint && TZ=UTC npm run test -- app/javascript/pages/notable-contributors-page/ContributorSocialLinks.spec.ts --run

Merge request reports

Loading
Loading