Andrey (azangru) wrote,
Andrey
azangru

Played in typescript playground to confirm that it's possible to express in typescript an object that takes a react component and the properties for this component, and type checks that the properties are indeed the ones that the component expects.

Might be relevant for the future me.
Subscribe

Recent Posts from This Journal

  • (no subject)

    I am sure he meant endothelial. Only not in the sense that Sars-Cov2 is an endothelial virus; but that full-blown covid is an endothelial disease, as…

  • (no subject)

    On the dreadful state of the style of modern Russian communication. "There is no alternative", writes an author, and then immediately outlines an…

  • Via Twitter

    Via a tweet, but I thought I'd get my own copy. A beautiful illustration of how a caption totally misrepresents what's been captured in the photo.…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments