Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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 <>",
"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) {

This comment has been minimized.

Copy link

@heshamelmasry77 heshamelmasry77 commented Nov 16, 2017

is there a solution for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment