react/typescript: Parameter ‘props’ implicitly has an ‘any’ type error

In typeScript you should install @types/react and while extending the React.Component you need to specify the props and state types.
Here is the example

import * as React from 'react'

interface Props {
  ... // your props validation
}

interface State {
  ... // state types
}

class FormExample extends React.Component<Props, State> {... }

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)