graphile / starter

Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
https://graphile-starter.herokuapp.com
Other
1.74k stars 219 forks source link

upgrade typescript #272

Closed singingwolfboy closed 1 year ago

singingwolfboy commented 2 years ago

Description

Upgrade Typescript to 4.4.4, tslib to 2.3.1.

Performance impact

None, as far as I know.

Security impact

None, as far as I know.

heracek commented 2 years ago

Hello, I have upgrade of TypeScript in PR #295

Problem with catch(e) was solved by simple catch(e: any).

I know that it's not optimal, basically I'm giving up any type information about errors, byt it fits the requirement of being a minimal change in codebase.

Maybe type safe solution can be solved in different PR.

benjie commented 1 year ago

We're now running TypeScript v5 as of #341