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 Store from './store';
import Subscription from './subscription'; import Subscription from './subscription';
class TermApp extends Component { class TermApp extends Component<any, any> {
store: Store; store: Store;
api: any; api: any;
subscription: any; subscription: any;
declare props: any;
declare state: any;
constructor(props) { constructor(props) {
super(props); super(props);
this.store = new Store(); this.store = new Store();

View File

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