Add <any, any> props/state to React components to prevent compiler errors

This commit is contained in:
Elizabeth Craig
2019-02-28 13:58:42 -08:00
parent 88425249ea
commit 4c440c8ac3
14 changed files with 14 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { Counter } from './components/Counter';
export class App extends React.Component {
export class App extends React.Component<any, any> {
render() {
return (
<div className="App">