Skip to content

Instantly share code, notes, and snippets.

Embed
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 <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)
}
}
@heshamelmasry77

This comment has been minimized.

Copy link

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
You can’t perform that action at this time.