class HelloWorld extends React.Component<{date: Date}, void> { render() { return (

Hello, ! It is {this.props.date.toTimeString()}

); } } setInterval(function() { ReactDOM.render( , document.getElementById('example') ); }, 500);