property does not exist on type readonly typescript code example
Example: Property 'val' does not exist on type 'Readonly<{}>
class App extends React.component<{},any>{ //your code}
class App extends React.component<{},any>{ //your code}