https://x.com/mattpocockuk/status/1759540590025351234
Matt Pocock @mattpocockukWhen you're creating some config in TS, you've got two choices for how you write the type.
Either DECLARE the type, then use it to type the value.
Or DERIVE the type from the value.
Which do you prefer?Feb 19, 2024 View on X →
Monday, February 19, 2024
