more typescripting

This commit is contained in:
muerwre 2019-02-20 17:52:42 +07:00
parent 5699a7abb7
commit 628b96c4ab
7 changed files with 144 additions and 103 deletions

View file

@ -3,7 +3,7 @@ import classnames from 'classnames';
interface Props {
value: string;
onChange: EventHandlerNonNull;
onChange: (text: string) => void;
}
type State = {

View file

@ -1,5 +1,5 @@
import * as React from 'react';
import { ISticker, STICKERS } from '$constants/stickers';
import { STICKERS } from '$constants/stickers';
type Props = {
set: string,