atom-react-autocomplete
atom-react-autocomplete copied to clipboard
Typescript support
is typescript .tsx supported? i tried the following..
.importjs.json
{
"lookupPaths": [
"testing/**/*.tsx"
]
}
and the generated completions.json looks like this..
{
"components": {
"description": {},
"methods": {}
}
}
i have one component called test-component.tsx inside a directory called testing that looks like this...
import * as React from 'react';
interface TestComponentProps {
test : string;
}
const TestComponent : React.StatelessComponent<TestComponentProps> = ( props : TestComponentProps ) => {
return (
<div>{ props.test }</div>
);
};
export { TestComponent as default };
should this work?