Jay Freestone
banner
jayfreestone.com
Jay Freestone
@jayfreestone.com
A fullstack software engineer living & working in East London.

jayfreestone.com
Love how flexible Vitest is. Hooks & lazy fixtures make it very easy to piece together stuff like a per-suite `--bail`.
December 14, 2024 at 10:16 AM
Spent ages trying to get the correct types for inherited static methods in TypeScript. This worked in the end:

github.com/microsoft/Ty...

Weird that it doesn't seem to have first-class support.
November 27, 2024 at 4:03 PM
Big fan of using ESLint to impose restrictions on module/file imports, especially in today's landscape of mixing server/client/infrastructure code:

https://github.com/import-js/eslint-plugin-import

Helps keep everything clean, and ensures new (and old!) dev's don't foot-gun themselves.
July 10, 2023 at 7:30 PM