htbkoo / personal-portfolio

Rewrite of my personal portfolio page
https://htbkoo.github.io/personal-portfolio/?utm_source=github
MIT License
1 stars 1 forks source link

feat(Dependency): Upgrade `prettier` to `2.8.8` from `2.6.2` to support latest TypeScript syntax #165

Closed htbkoo closed 11 months ago

htbkoo commented 11 months ago

A follow up of #158 and #159

After recent upgrade of TypeScript version used in the project, it is discovered that the prettier library no longer works as expected and it is because the version was too old and it does not support the new TypeScript syntax (e.g. satisfies).

This PR aims to fix the above.

References:

  1. https://prettier.io/blog/2022/06/14/2.7.0
  2. https://prettier.io/blog/2022/11/23/2.8.0