term: fix babel & tsc issues

This commit is contained in:
Liam Fitzgerald 2021-07-08 09:17:30 +10:00
parent ed264ea251
commit b9c354b033
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB
2 changed files with 2 additions and 5 deletions

View File

@ -11,12 +11,10 @@ import './css/custom.css';
import Store from './store';
import Subscription from './subscription';
class TermApp extends Component {
class TermApp extends Component<any, any> {
store: Store;
api: any;
subscription: any;
declare props: any;
declare state: any;
constructor(props) {
super(props);
this.store = new Store();

View File

@ -1,9 +1,8 @@
import { BaseInput, Box, Row } from '@tlon/indigo-react';
import React, { Component } from 'react';
export class Input extends Component {
export class Input extends Component<any, {}> {
inputRef: React.RefObject<unknown>;
declare props: any;
constructor(props) {
super(props);
this.state = {};