fix: ts type

This commit is contained in:
kangwei 2020-03-30 19:43:22 +08:00
parent 231e1e0a19
commit 1732e7db5f

View File

@ -6,7 +6,7 @@ import './index.scss';
interface Color { interface Color {
rgb: any; rgb: any;
onChange: function; onChange: () => void;
} }
export interface PluginProps { export interface PluginProps {
@ -96,4 +96,4 @@ export default class ColorPickerView extends PureComponent<PluginProps> {
/> />
); );
} }
} }