Skip to content

Commit d694958

Browse files
committed
Fix issue with tsconfig.
Need to figure out how to not generate jsx files.
1 parent 904f85a commit d694958

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

app/components/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface IAppProps {
1717

1818
function select(state: { counters: number[] }): IAppState {
1919
return {
20-
counters: state.counters
20+
counters: state.counters,
2121
};
2222
}
2323

app/components/counter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const COLORS: string[] = ['blue', 'green', 'red'];
1414
export class Counter extends React.Component<ICounterProps, {}> {
1515
public render(): React.ReactElement<{}> {
1616
const style: {} = {
17-
color: COLORS[this.props.index % COLORS.length]
17+
color: COLORS[this.props.index % COLORS.length],
1818
};
1919

2020
const {index, value, onIncrement, onDecrement}: any = this.props;

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"target": "ES6",
44
"jsx": "preserve",
5-
"noEmit": true,
65
"experimentalDecorators": true
76
},
87
"exclude": ["node_modules", "config", "dev_server.js"]

0 commit comments

Comments
 (0)