Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
ci: add types testing with `tstyche` (#9803)
As proposed here https://github.com/payloadcms/payload/pull/9782#issuecomment-2522090135 with additional testing of our types we can be more sure that we don't break them between updates. This PR already adds types testing for most Local API methods https://github.com/payloadcms/payload/blob/6beb921c2e232ab4edfa38c480af40a1bec1106e/test/types/types.spec.ts but new tests for types can be easily added, either to that same file or you can create `types.spec.ts` in any other test folder. The new test folder uses `strict: true` to ensure our types do not break with it. --------- Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
S
Sasha committed
f09ee0b84be0a62d182a6fa118d33381482bcd64
Parent: 1fdc7cc
Committed by GitHub <noreply@github.com>
on 12/7/2024, 2:38:25 PM