React TS app to reproduce TS inspection errors in PhpStorm
{ | |
"name": "react-ts-test", | |
"version": "1.0.0", | |
"description": "Test app to reproduce ts inspection error in PhpStorm", | |
"main": "index.js", | |
"author": "Alexander Miertsch <contact@prooph.de>", | |
"license": "MIT", | |
"dependencies": { | |
"@types/react": "^16.0.1", | |
"react": "^15.6.1" | |
} | |
} |
import React from 'react' | |
interface ReactTestProps {foo: string, bar: string} | |
class ReactTest extends React.Component<ReactTestProps, {}> { | |
constructor(props: ReactTestProps) { | |
super(props) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
is there a solution for this ?