import React, { Component } from 'react'; interface Props {} interface State {} export default class User extends React.Component<Props, State> { render() { return <span>hello user </span>; } }